ClassesClasses | | Operators

broadcast_conditionT_broadcast_conditionBroadcastConditionBroadcastCondition (Operator)

Name

broadcast_conditionT_broadcast_conditionBroadcastConditionBroadcastCondition — 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()

Description

broadcast_conditionbroadcast_conditionBroadcastConditionBroadcastConditionBroadcastCondition restarts all the threads that are waiting on the condition variable ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandle. Nothing happens if no threads are waiting on ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandle.

Execution Information

Parameters

ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandle (input_control)  condition HCondition, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Condition synchronization object.

Result

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

Possible Predecessors

create_conditioncreate_conditionCreateConditionCreateConditionCreateCondition, wait_conditionwait_conditionWaitConditionWaitConditionWaitCondition

See also

wait_conditionwait_conditionWaitConditionWaitConditionWaitCondition, timed_wait_conditiontimed_wait_conditionTimedWaitConditionTimedWaitConditionTimedWaitCondition

Module

Foundation


ClassesClasses | | Operators