Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Increments the lock count for a MUMPS global. Note that MUMPS locks are advisory, meaning that MUMPS will not enforce locking automatically. It is the responsibility of your application code to check for and honor any outstanding locks before setting a MUMPS global.

Arguments

ArgumentData TypeRequiredDefaultDescription
globalNamestringYes-The name of the global to examine
subscriptsarrayYes-An array of subscripts
timeoutnumericNo0Number of seconds after which the lock attempt will fail

 Return Value

mumps.lock() returns true if the lock was successfully acquired.

Example

  • No labels