Skip to end of banner
Go to start of banner

sysUnlock

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

« Previous Version 9 Current »

Description

Removes a named lock. If you forget to call it, all locks will be cleared at the termination of the script.

Parameters

Return Type

None

Examples

Example 1

sysUnlock("TEST-123");

The lock named 'TEST-123' is now released and may be acquired by other SIL scripts which are now doing sysLock() on the same key.

Example 2

Similar to the example above but uses the package.

use "system";
unlock("TEST-123");

The lock named 'TEST-123' is now released and may be acquired by other SIL scripts which are now doing sysLock() on the same key.

See also

  • No labels