Unlocks a global mutex.
cma_unlock_global();
#includevoid cma_unlock_global(void);
If no threads are waiting for the global mutex, it becomes unlocked with no current owner. If one or more threads are waiting to lock the global mutex, one thread is unblocked and tries to acquire the global lock again. The scheduling policy is used to determine which thread acquires the global mutex.
The results of calling this routine are unpredictable if the global mutex is already unlocked. The results of calling this service are also unpredictable if the global mutex is owned by a thread other than the calling thread.
Do not call this routine from any software interrupt handler.
cma_e_existence cma_e_use_error