These are the optional arguments used by
(the status of the process while the lock is set, as seen in the Process Browser) and
(a timeout period, in seconds).
The forms to execute.
while holding the lock, and unlocks the lock when
exits. This is the recommended way of using locks. The value of
is returned normally.
is not executed if the lock could not be claimed, in which case,