thread exiting by return locks tasks
Brought to you by:
cybersys
Hi
I dont expect a fix for this but someone may read it
and find it useful!
If you allow a task to exit by a return (it falls
though to the wrapper), taskLock is called and the
function pthread_exit is called before the function to
taskUnlock.
This leaves a deadlock on the next call to taskLock
following this.
The fix is to call taskUnlock before pthread_exit in
the function taskDeleteForce.
Steve (stever@citel.com)