LocalLockManager::LockLocalSemaphore (open)
Lock a process-local semaphore by name
Syntax
LOADLIB "wh::ipc.whlib";
OBJECT FUNCTION LockLocalSemaphore(STRING name, INTEGER maxconcurrent)Parameters
STRING nameName of the semaphore to lock
INTEGER maxconcurrentMax nr. of concurrent lock-keepers during the requested lock
Return value
OBJECTSemaphore-lock object