UnlockMutex()

语法

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

参数

Mutex The mutex to unlock.

返回值

无.

Remarks

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

See CreateMutex() for a code example.

参阅

LockMutex(), CreateMutex()

已支持操作系统

所有

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