GetLockInfo(name:Str, [type:Int]):Any

Get lock information. Checks whether there is an active lock named name, and return information about it.

  • type=0 (default): return true if there is a lock, false if there isn't
  • type=1: return the name of the process owning the lock, EMPTY if there is no lock
  • type=2: return the information text (hint parameter for Lock()), EMPTY if there is no lock

Since: PCC2 1.99.17

See also: Lock()

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.