Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Mutex.Unlock

Unlocks the mutex.

Component Version macOS Windows Linux Server iOS SDK
Mutex 10.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Mutex.Unlock"; Mutex )   More

Parameters

Parameter Description Example
Mutex The reference number of the mutex. $mutex

Result

Returns OK or error.

Description

Unlocks the mutex.

Examples

Lock and unlock:

# lock it
Set Variable [ $r ; Value: MBS( "Mutex.Lock"; $Mutex ) ]
# do something
#
# finally unlock
Set Variable [ $r ; Value: MBS( "Mutex.Unlock"; $Mutex ) ]

See also

Blog Entries

This function checks for a license.

Created 5th April 2020, last changed 5th April 2020


Mutex.TryLock - NSEventFilter.DisableEvents