Every call to Ext.AcquireLock() must eventually be followed by a call to Ext.ReleaseLock(). Statements between these two calls are executed by at most one concurrent script at a time. If a script terminates without releasing an acquired lock, the SBM AppScript system automatically releases it so concurrent scripts do not halt indefinitely. For details on acquiring locks, refer to Ext.AcquireLock( [msTimeout] ). For details on determining if a concurrent script is available to be acquired, refer to Ext.LockIsAvailable( ).



Return Values

Returns true if the lock was released successfully. Returns false if the lock was not released.

Related Topics