broadcast_conditionT_broadcast_conditionBroadcastConditionBroadcastConditionbroadcast_condition (Operator)

Name

broadcast_conditionT_broadcast_conditionBroadcastConditionBroadcastConditionbroadcast_condition — Signal a condition synchronization object.

Signature

broadcast_condition( : : ConditionHandle : )

Herror T_broadcast_condition(const Htuple ConditionHandle)

void BroadcastCondition(const HTuple& ConditionHandle)

void HCondition::BroadcastCondition() const

static void HOperatorSet.BroadcastCondition(HTuple conditionHandle)

void HCondition.BroadcastCondition()

def broadcast_condition(condition_handle: HHandle) -> None

Description

broadcast_conditionbroadcast_conditionBroadcastConditionBroadcastConditionbroadcast_condition restarts all the threads that are waiting on the condition variable ConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle. Nothing happens if no threads are waiting on ConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle.

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 broadcast_conditionbroadcast_conditionBroadcastConditionBroadcastConditionbroadcast_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