LocalLockManager::TryLockLocalMutex (open)

Try to lock a process-local mutex by name

Syntax

LOADLIB "wh::ipc.whlib";

OBJECT FUNCTION TryLockLocalMutex(STRING name, DATETIME waituntil)

Parameters

STRING name

Name of the mutex to lock

DATETIME waituntil

Wait until this time to lock.

Return value

OBJECT

Mutex-lock object (or DEFAULT OBJECT if not able to lock in time)