unlock_mutexT_unlock_mutexUnlockMutexUnlockMutexunlock_mutex (算子名称)
名称
unlock_mutexT_unlock_mutexUnlockMutexUnlockMutexunlock_mutex — Unlock a mutex synchronization object.
参数签名
描述
unlock_mutexunlock_mutexUnlockMutexUnlockMutexUnlockMutexunlock_mutex unlocks the mutex object given by MutexHandleMutexHandleMutexHandleMutexHandlemutexHandlemutex_handle.
The mutex is assumed to be locked and owned by the calling thread. Unlocking
a mutex that is already unlocked has no effect.
运行信息
- Multithreading type: independent (runs in parallel even with exclusive operators).
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
MutexHandleMutexHandleMutexHandleMutexHandlemutexHandlemutex_handle (input_control) mutex → HMutex, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Mutex synchronization object.
结果
If the mutex handle is valid, 该算子 unlock_mutexunlock_mutexUnlockMutexUnlockMutexUnlockMutexunlock_mutex returns
2 (
H_MSG_TRUE)
. 如有必要,将引发异常。
可能的前置算子
lock_mutexlock_mutexLockMutexLockMutexLockMutexlock_mutex,
try_lock_mutextry_lock_mutexTryLockMutexTryLockMutexTryLockMutextry_lock_mutex
可能的后置算子
lock_mutexlock_mutexLockMutexLockMutexLockMutexlock_mutex,
try_lock_mutextry_lock_mutexTryLockMutexTryLockMutexTryLockMutextry_lock_mutex,
clear_mutexclear_mutexClearMutexClearMutexClearMutexclear_mutex
模块
Foundation