clear_mutexT_clear_mutexClearMutexClearMutexclear_mutex (算子名称)
名称
clear_mutexT_clear_mutexClearMutexClearMutexclear_mutex — Clear the mutex synchronization object.
参数签名
描述
clear_mutexclear_mutexClearMutexClearMutexClearMutexclear_mutex destroys the mutex object given by MutexHandleMutexHandleMutexHandleMutexHandlemutexHandlemutex_handle.
The mutex must be unlocked. After calling
clear_mutexclear_mutexClearMutexClearMutexClearMutexclear_mutex, the mutex can no longer be used. The
handle MutexHandleMutexHandleMutexHandleMutexHandlemutexHandlemutex_handle becomes invalid.
运行信息
- Multithreading type: independent (runs in parallel even with exclusive operators).
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
参数表
MutexHandleMutexHandleMutexHandleMutexHandlemutexHandlemutex_handle (input_control, state is modified) mutex → HMutex, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Mutex synchronization object.
结果
If the mutex handle is valid, 该算子 clear_mutexclear_mutexClearMutexClearMutexClearMutexclear_mutex
returns 2 (
H_MSG_TRUE)
.
如有必要,将引发异常。
可能的前置算子
create_mutexcreate_mutexCreateMutexCreateMutexCreateMutexcreate_mutex
参考其它
create_mutexcreate_mutexCreateMutexCreateMutexCreateMutexcreate_mutex
模块
Foundation