LocalLockManager (open)
Mutual exclusion manager for process-local locks
Syntax
LOADLIB "wh::ipc.whlib";
OBJECTTYPE LocalLockManager
Functions
- OBJECT FUNCTION LockLocalMutex(STRING name)
Lock a process-local mutex by name
- OBJECT FUNCTION LockLocalSemaphore(STRING name, INTEGER maxconcurrent)
Lock a process-local semaphore by name
- OBJECT FUNCTION TryLockLocalMutex(STRING name, DATETIME waituntil)
Try to lock a process-local mutex by name
- OBJECT FUNCTION TryLockLocalSemaphore(STRING name, INTEGER maxconcurrent, DATETIME waituntil)
Try to lock a process-local semaphore by name