clear_eventT_clear_eventClearEventClearEventclear_event (算子名称)
名称
clear_eventT_clear_eventClearEventClearEventclear_event — Clear the event synchronization object.
参数签名
描述
clear_eventclear_eventClearEventClearEventClearEventclear_event destroys the mutex object given by EventHandleEventHandleEventHandleEventHandleeventHandleevent_handle.
No threads should be waiting on the event at the time clear_eventclear_eventClearEventClearEventClearEventclear_event is
called. After calling clear_eventclear_eventClearEventClearEventClearEventclear_event, the event can no longer be used.
The handle EventHandleEventHandleEventHandleEventHandleeventHandleevent_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.
参数表
EventHandleEventHandleEventHandleEventHandleeventHandleevent_handle (input_control, state is modified) event → HEvent, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Event synchronization object.
结果
If the event handle is valid, 该算子 clear_eventclear_eventClearEventClearEventClearEventclear_event
returns 2 (
H_MSG_TRUE)
.
如有必要,将引发异常。
可能的前置算子
create_eventcreate_eventCreateEventCreateEventCreateEventcreate_event
参考其它
create_eventcreate_eventCreateEventCreateEventCreateEventcreate_event
模块
Foundation