| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Unlocks a Mutex.
HB_MutexUnlock( <pMutexHandle> ) --> NIL
The function returns always NIL.
Function HB_MutexUnlock() releases a lock previously set with HB_MutexLock(), HB_MutexTimeoutLock() or HB_MutexTryLock(). A Mutex must be unlocked in the same thread that has obtained a lock.
Refer to HB_MutexCreate() for more information on Mutexes.
| See also: | GetCurrentThread(), GetThreadID(), HB_MutexCreate(), HB_MutexLock(), HB_MutexTimeoutLock(), HB_MutexTryLock(), Notify(), StartThread(), Subscribe() |
| Category: | Multi-threading functions , Mutex functions , xHarbour extensions |
| Source: | vm\thread.c |
| LIB: | xhbmt.lib |
| DLL: | xhbmtdll.dll |
http://www.xHarbour.com