Unlock the pthread_sleepon*() functions
#include <pthread.h> int pthread_sleepon_unlock( void );
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The pthread_sleepon_unlock() function calls pthread_mutex_unlock() on a mutex associated with the pthread_sleepon*() class of functions. You should call it at the end of a critical section entered by pthread_sleepon_lock() .
This function may be implemented as a simple macro.
- The current thread doesn't own the controlling mutex.
Last modified: 2013-12-23