LocalLockManager::LockLocalSemaphore (open)

Lock a process-local semaphore by name

Syntax

LOADLIB "wh::ipc.whlib";

OBJECT FUNCTION LockLocalSemaphore(STRING name, INTEGER maxconcurrent)

Parameters

STRING name

Name of the semaphore to lock

INTEGER maxconcurrent

Max nr. of concurrent lock-keepers during the requested lock

Return value

OBJECT

Semaphore-lock object