Matrix1 Utility Plug-ins

TRY LOCK SYSOBJ


Syntax

Locked = TRY LOCK SYSOBJ( Object Number )
Locked = TRY LOCK SYSOBJ( Object Number, Timeout )

Description

Attempts to gain a lock on the system object.

In the first form, if it is not possible to lock the object immediately, the function will return immediately.

In the second form, if it is not possible to lock the object, the function will wait until either a lock is possible, or the timeout period has expired.

In both cases, if the object was successfully locked, a value of 1 will be returned. Otherwise, a value of 0 will be returned.

Go back to ...

Matrix1Util_03 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011