The LOCK command isn't really a transaction lock.  It's intended more as a task 
synchronization lock, though you could use it to control transaction 
single-threading.

The LIST.LOCKS command shows the current owner.  In a program, if the ELSE 
clause of the LOCK statement is taken, then STATUS() returns the UniVerse user 
number of the holder.

Note that these locks are cleared in BASIC using UNLOCK but from the command 
line using CLEAR.LOCKS.  They can also be cleared by the Administrator's MASTER 
LOCKS command.

The number of such locks is controlled by the PSEMNUM configuration parameter 
in the uvconfig file.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to