%SYS.Python.Utils
Class %SYS.Python.Utils Extends %RegisteredObject [ System = 4 ]
Python Runtime Utils
Parameters
"LOCK_SHARED"
Parameter "LOCK_SHARED" As %String = "S";
"LOCK_ESCALATING"
Parameter "LOCK_ESCALATING" As %String = "E";
"LOCK_IMMEDIATE"
Parameter "LOCK_IMMEDIATE" As %String = "I";
"LOCK_DEFERRED"
Parameter "LOCK_DEFERRED" As %String = "D";
Methods
lock
ClassMethod lock(ref As %String = "", timeout As %Integer = "", mode As %String = "") As %Boolean [ CodeMode = expression ]
Lock
unlock
ClassMethod unlock(ref As %String = "", timeout As %Integer = "", mode As %String = "") As %Boolean
Unlock
lockit
ClassMethod lockit(op As %String, ref As %String, timeout As %Integer, mode As %String) As %Boolean [ Internal, Private ]
Helper for locking