Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tweak signal definition.
  • Loading branch information
jnthn committed Apr 20, 2014
1 parent b397114 commit a66079d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/ops.markdown
Expand Up @@ -1821,8 +1821,9 @@ AsyncTask REPR. Cancellation stops the timer ever repeating again.
## signal
* `signal($queue, $schedulee, int [nqp::cosnt::SIG_], $handle_type)`

Sets up a signal handler for the given signal. Whenever it occurs, the
specified schedulee is pushed to the queue. Cancel to stop handling it.
Sets up a signal handler for the given signal. Whenever it occurs, an
array is pushed to the queue containg the schedulee and the signal number.
Cancel to stop handling it.

## watchfile
* `watchfile($queue, $schedulee, str $filename, $handle_type)`
Expand Down

0 comments on commit a66079d

Please sign in to comment.