signal_conditionT_signal_conditionSignalConditionSignalConditionsignal_condition (Operator)

Name

signal_conditionT_signal_conditionSignalConditionSignalConditionsignal_condition — Signal a condition synchronization object.

Signature

signal_condition( : : ConditionHandle : )

Herror T_signal_condition(const Htuple ConditionHandle)

void SignalCondition(const HTuple& ConditionHandle)

void HCondition::SignalCondition() const

static void HOperatorSet.SignalCondition(HTuple conditionHandle)

void HCondition.SignalCondition()

def signal_condition(condition_handle: HHandle) -> None

Description

signal_conditionsignal_conditionSignalConditionSignalConditionsignal_condition restarts one of the threads that are waiting on the condition variable ConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle. If no threads are waiting on ConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle, nothing happens. If several threads are waiting on ConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle, exactly one is restarted, but it is not specified which one.

Execution Information

Parameters

ConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle (input_control)  condition HCondition, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Condition synchronization object.

Result

If the condition handle is valid, the operator signal_conditionsignal_conditionSignalConditionSignalConditionsignal_condition returns 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

create_conditioncreate_conditionCreateConditionCreateConditioncreate_condition, wait_conditionwait_conditionWaitConditionWaitConditionwait_condition

See also

wait_conditionwait_conditionWaitConditionWaitConditionwait_condition, timed_wait_conditiontimed_wait_conditionTimedWaitConditionTimedWaitConditiontimed_wait_condition

Module

Foundation