LockManager (open)
Mutual exclusion manager
Syntax
LOADLIB "mod::system/lib/internal/cluster/lockmanager.whlib";
OBJECTTYPE LockManager
Functions
- MACRO Close()
Noop, kept for legacy purposes.
- RECORD FUNCTION GetStatus()
- BOOLEAN FUNCTION HasLockedMutex(STRING mutexname)
Return whether the current session has locked mutex 'mutexname'
- OBJECT FUNCTION LockMutex(STRING mutexname)
Locks a mutex
- MACRO SetDebugging(RECORD options)
- OBJECT FUNCTION TryLockMutex(STRING mutexname, DATETIME wait_until)
Tries to locks a mutex