LockManager::TryLockMutex (open)

Tries to locks a mutex

Syntax

LOADLIB "mod::system/lib/internal/cluster/lockmanager.whlib";

OBJECT FUNCTION TryLockMutex(STRING mutexname, DATETIME wait_until)

Parameters

STRING mutexname

Name of mutex to lock

DATETIME wait_until

Wait max until this time for the lock.

Return value

OBJECT
Possible objecttypes:

Lock (DEFAULT OBJECT if not available before wait_until)