ClassesClasses | | Operators

clear_mutexclear_mutexClearMutexClearMutex (Operator)

Name

clear_mutexclear_mutexClearMutexClearMutex — Clear the mutex synchronization object.

Signature

clear_mutex( : : MutexHandle : )

Herror clear_mutex(const Hlong MutexHandle)

Herror T_clear_mutex(const Htuple MutexHandle)

void ClearMutex(const HTuple& MutexHandle)

static void HOperatorSet.ClearMutex(HTuple mutexHandle)

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

Parameters

MutexHandleMutexHandleMutexHandleMutexHandlemutexHandle (input_control)  mutex HMutex, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

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


ClassesClasses | | Operators