clear_conditionT_clear_conditionClearConditionClearConditionclear_condition (Operator)

Name

clear_conditionT_clear_conditionClearConditionClearConditionclear_condition — Destroy a condition synchronization object.

Signature

clear_condition( : : ConditionHandle : )

Herror T_clear_condition(const Htuple ConditionHandle)

void ClearCondition(const HTuple& ConditionHandle)

void HCondition::ClearCondition() const

static void HOperatorSet.ClearCondition(HTuple conditionHandle)

void HCondition.ClearCondition()

def clear_condition(condition_handle: HHandle) -> None

Description

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

Execution Information

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

ConditionHandleConditionHandleConditionHandleConditionHandleconditionHandlecondition_handle (input_control, state is modified)  condition HCondition, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Condition synchronization object.

Result

If the condition handle is valid, the operator clear_conditionclear_conditionClearConditionClearConditionClearConditionclear_condition returns TRUE. If necessary, an exception is raised.

Possible Predecessors

create_conditioncreate_conditionCreateConditionCreateConditionCreateConditioncreate_condition

See also

create_conditioncreate_conditionCreateConditionCreateConditionCreateConditioncreate_condition

Module

Foundation