unlock_mutexT_unlock_mutexUnlockMutexUnlockMutex (Operator)
Name
unlock_mutexT_unlock_mutexUnlockMutexUnlockMutex
— Unlock a mutex synchronization object.
Signature
Description
unlock_mutexunlock_mutexUnlockMutexUnlockMutexUnlockMutex
unlocks the mutex object given by MutexHandleMutexHandleMutexHandleMutexHandlemutexHandle
.
The mutex is assumed to be locked and owned by the calling thread. Unlocking
a mutex that is already unlocked has no effect.
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
MutexHandleMutexHandleMutexHandleMutexHandlemutexHandle
(input_control) mutex →
HMutex, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Mutex synchronization object.
Result
If the mutex handle is valid, the operator unlock_mutexunlock_mutexUnlockMutexUnlockMutexUnlockMutex
returns
2 (H_MSG_TRUE). If necessary, an exception is raised.
Possible Predecessors
lock_mutexlock_mutexLockMutexLockMutexLockMutex
,
try_lock_mutextry_lock_mutexTryLockMutexTryLockMutexTryLockMutex
Possible Successors
lock_mutexlock_mutexLockMutexLockMutexLockMutex
,
try_lock_mutextry_lock_mutexTryLockMutexTryLockMutexTryLockMutex
,
clear_mutexclear_mutexClearMutexClearMutexClearMutex
Module
Foundation