ClassesClasses | | Operators

clear_conditionclear_conditionClearConditionClearCondition (Operator)

Name

clear_conditionclear_conditionClearConditionClearCondition — Destroy a condition synchronization object.

Signature

clear_condition( : : ConditionHandle : )

Herror clear_condition(const Hlong ConditionHandle)

Herror T_clear_condition(const Htuple ConditionHandle)

void ClearCondition(const HTuple& ConditionHandle)

static void HOperatorSet.ClearCondition(HTuple conditionHandle)

Description

clear_conditionclear_conditionClearConditionClearConditionClearCondition destroys the condition object given in ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandle. No threads should be waiting on the condition at the time clear_conditionclear_conditionClearConditionClearConditionClearCondition is called. After calling clear_conditionclear_conditionClearConditionClearConditionClearCondition, the condition can no longer be used. The handle ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandle becomes invalid.

Execution Information

Parameters

ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandle (input_control)  condition HCondition, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Condition synchronization object.

Result

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

Possible Predecessors

create_conditioncreate_conditionCreateConditionCreateConditionCreateCondition

See also

create_conditioncreate_conditionCreateConditionCreateConditionCreateCondition

Module

Foundation


ClassesClasses | | Operators