ClassesClassesClassesClasses | | | | Operators

unlock_mutexunlock_mutexUnlockMutexunlock_mutexUnlockMutexUnlockMutex (Operator)

Name

unlock_mutexunlock_mutexUnlockMutexunlock_mutexUnlockMutexUnlockMutex — Unlock a mutex synchronization object.

Signature

unlock_mutex( : : MutexHandle : )

Herror unlock_mutex(const Hlong MutexHandle)

Herror T_unlock_mutex(const Htuple MutexHandle)

Herror unlock_mutex(const HTuple& MutexHandle)

void HMutex::UnlockMutex() const

void UnlockMutex(const HTuple& MutexHandle)

void HMutex::UnlockMutex() const

void HOperatorSetX.UnlockMutex([in] VARIANT MutexHandle)

void HMutexX.UnlockMutex()

static void HOperatorSet.UnlockMutex(HTuple mutexHandle)

void HMutex.UnlockMutex()

Description

unlock_mutexunlock_mutexUnlockMutexunlock_mutexUnlockMutexUnlockMutex unlocks the mutex object given by MutexHandleMutexHandleMutexHandleMutexHandleMutexHandlemutexHandle. The mutex is assumed to be locked and owned by the calling thread. Unlocking a mutex that is already unlocked has no effect.

Parallelization

Parameters

MutexHandleMutexHandleMutexHandleMutexHandleMutexHandlemutexHandle (input_control)  mutex HMutex, HTupleHTupleHMutex, HTupleHMutexX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Mutex synchronization object.

Result

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

Possible Predecessors

lock_mutexlock_mutexLockMutexlock_mutexLockMutexLockMutex, try_lock_mutextry_lock_mutexTryLockMutextry_lock_mutexTryLockMutexTryLockMutex

Possible Successors

lock_mutexlock_mutexLockMutexlock_mutexLockMutexLockMutex, try_lock_mutextry_lock_mutexTryLockMutextry_lock_mutexTryLockMutexTryLockMutex, clear_mutexclear_mutexClearMutexclear_mutexClearMutexClearMutex

Module

Foundation


ClassesClassesClassesClasses | | | | Operators