#include <nitro/os.h>
void OS_UnlockMutex( OSMutex* mutex );
Releases Mutex
The thread calling this function must be the mutex owner.
However, when the calling thread has locked mutex n times, only the mutex lock by the nth OS_LockMutex() is released.
When the thread locking mutex is ended with OS_ExitThread() that mutex is automatically unlocked.
mutex |
Pointer to the Mutex structure |
None
OS_InitMutex, OS_LockMutex, OS_TryLockMutex, OS_ExitThread
04/05/2004 Added description of mutex unlock with OS_ExitThread()
12/01/2003 Initial Version