|
Syntax #include <pthread.h> #include <sched.h> int pthread_lock_global_np(void); Threadsafe: Yes Signal Safe: Yes |
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.
This function is not portable
None.
For successful completion, the global mutex lock must be held prior to calling pthread_unlock_global_np().
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.
See the pthread_lock_global_np() example.