wait_eventπ
Short descriptionπ
wait_event β Lock an event synchronization object.
Signatureπ
wait_event( event EventHandle )
Descriptionπ
wait_event waits on the event object passed in EventHandle
until it is signaled. When the event is signaled, wait_event
succeeds and sets the state automatically to non-signaled again.
The kind of wait depends on the eventβs attributes
set during the creation in create_event.
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
EventHandle (input_control) event β (handle)
Event synchronization object.
Resultπ
If the event handle is valid, the operator wait_event returns 2 (H_MSG_TRUE).
If necessary, an exception is raised.
Combinations with other operatorsπ
Moduleπ
Foundation