Lock Directory |
|
|
RequestLock and ReleaseLock operate by atomically
creating and destroying a temporary directory.
We name the directory after the script so that
we will lock out other copies of that script, but
not other scripts.
$LockDirectory = "[Blank /tmp]/$ScriptName";For example, the script wiki might use a lock directory of /tmp/wiki.
|
Last edited December 19, 1995 Return to WelcomeVisitors |