clear_mutexT_clear_mutexClearMutexClearMutex (Operator)

Name

clear_mutexT_clear_mutexClearMutexClearMutex — Clear the mutex synchronization object.

Signature

clear_mutex( : : MutexHandle : )

Herror T_clear_mutex(const Htuple MutexHandle)

void ClearMutex(const HTuple& MutexHandle)

void HMutex::ClearMutex() const

static void HOperatorSet.ClearMutex(HTuple mutexHandle)

void HMutex.ClearMutex()

Description

clear_mutexclear_mutexClearMutexClearMutexClearMutex destroys the mutex object given by MutexHandleMutexHandleMutexHandleMutexHandlemutexHandle. The mutex must be unlocked. After calling clear_mutexclear_mutexClearMutexClearMutexClearMutex, the mutex can no longer be used. The handle MutexHandleMutexHandleMutexHandleMutexHandlemutexHandle 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

MutexHandleMutexHandleMutexHandleMutexHandlemutexHandle (input_control, state is modified)  mutex HMutex, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Mutex synchronization object.

Result

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

Possible Predecessors

create_mutexcreate_mutexCreateMutexCreateMutexCreateMutex

See also

create_mutexcreate_mutexCreateMutexCreateMutexCreateMutex

Module

Foundation