#include <pthread.h> int pthread_unlock_global_np(void);Service Program Name: QP0WTCBH
The pthread_unlock_global_np() function unlocks a global mutex provided by the pthreads run-time. The global mutex is a recursive mutex with a name of "QP0W_GLOBAL_MTX". The global mutex is not currently used by the pthreads run-time to serialize access to any system resources, and is provided for application use only.
Note: This function is not portable
For successful completion, the global mutex lock must be held prior to calling pthread_unlock_global_np().
None.
If pthread_unlock_global_np() was not successful, the error condition returned usually indicates one of the following errors. Under some conditions, the value returned could indicate an error other than those listed here.
The value specified for the argument is not correct.
The mutex is not currently held by the caller.
See Code disclaimer information for information pertaining to code examples.
See the pthread_lock_global_np() example.
Top | Pthread APIs | APIs by category |