signal_conditionT_signal_conditionSignalConditionSignalConditionsignal_condition (Operator)
Name
signal_conditionT_signal_conditionSignalConditionSignalConditionsignal_condition
— Signal a condition synchronization object.
Signature
Description
signal_conditionsignal_conditionSignalConditionSignalConditionSignalConditionsignal_condition
restarts one of the threads that are waiting on the
condition variable ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle
. If no threads are waiting on
ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle
, nothing happens. If several threads are waiting on
ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle
, exactly one is restarted, but it is not specified
which one.
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
ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle
(input_control) condition →
HCondition, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Condition synchronization object.
Result
If the condition handle is valid, the operator signal_conditionsignal_conditionSignalConditionSignalConditionSignalConditionsignal_condition
returns 2 (H_MSG_TRUE).
If necessary, an exception is raised.
Possible Predecessors
create_conditioncreate_conditionCreateConditionCreateConditionCreateConditioncreate_condition
,
wait_conditionwait_conditionWaitConditionWaitConditionWaitConditionwait_condition
See also
wait_conditionwait_conditionWaitConditionWaitConditionWaitConditionwait_condition
,
timed_wait_conditiontimed_wait_conditionTimedWaitConditionTimedWaitConditionTimedWaitConditiontimed_wait_condition
Module
Foundation