UnlockMutex()

Syntax

UnlockMutex(Mutex)
Description
Unlocks a mutex previously locked by LockMutex(). The mutex is then available again for other threads to lock it.

Parameters

Mutex The mutex to unlock.

Return value

None.

Remarks

A mutex can only be unlocked by the thread that also locked it.

See CreateMutex() for a code example.

See Also

LockMutex(), CreateMutex()

Supported OS

All

<- TrySemaphore() - Thread Index - WaitSemaphore() ->