-
Notifications
You must be signed in to change notification settings - Fork 0
@notify
@notify
command: @notify[/] [/][=]
notifies the semaphore , running the first command that waited on using the '@wait =' or ' @wait /=' forms of the @wait command. if is specified, it indicates the number of times the semaphore is notified. if there are no commands (or less than commands) pending for , then subsequent @waits will not block until the semaphore count reaches zero again. @notify may also take an argument of the form /, which notifies commands that are being blocked on an attribute other than the default 'semaphore'. this allows blocking of multiple sets of commands on a single object, using different attributes.
the following switches are available: /first - (default) notify the first command waiting on the indicated semaphore (or the first commands). /all - notify all commands waiting on the semaphore and reset the semaphore count to zero. is ignored. /quiet - suppress the 'notified.' message associated with the command.
related topics: @drain, @ps, @wait, semaphores