#include <cafe/os.h> void OSUnlockMutex (OSMutex* mutex);
|mutex||Pointer to mutex.|
The calling thread unlocks the mutex. The calling thread must own the mutex. If the calling thread has locked this mutex n times, the mutex will only be unlocked on the nth call to
OSUnLockMutex function. If the calling thread had a temporarily higher priority because a higher priority thread requested this mutex, the priority will be
recalculated (may not result in the standard priority because it depends on other mutexes that are retained). If the mutex is unlocked, all threads that this mutex blocks get executable status and
execute according to priority.
|Callbacks||Do not call this function from any callback function.|
2013-05-08 Automated cleanup pass.
2012-08-01 Cleanup pass.
2010-08-30 Initial version.