TransactionBase::TryLockMutex (open)

Try to lock an additional mutex when we already have work open. If succesful, this lock will be released at commit/rollback

Syntax

LOADLIB "wh::dbase/transaction.whlib";

BOOLEAN FUNCTION TryLockMutex(STRING mutexname, DATETIME wait_until)

Parameters

STRING mutexname

Name of the mutex to lock

DATETIME wait_until

Timeout

Return value

BOOLEAN

TRUE if the mutex was locked