… | |
… | |
148 | $result_ready->wait; |
148 | $result_ready->wait; |
149 | |
149 | |
150 | SIGNAL WATCHERS |
150 | SIGNAL WATCHERS |
151 | You can listen for signals using a signal watcher, "signal" is the |
151 | You can listen for signals using a signal watcher, "signal" is the |
152 | signal *name* without any "SIG" prefix. Multiple signals events can be |
152 | signal *name* without any "SIG" prefix. Multiple signals events can be |
153 | clumped together into one callback invocation, and callbakc invocation |
153 | clumped together into one callback invocation, and callback invocation |
154 | might or might not be asynchronous. |
154 | might or might not be asynchronous. |
155 | |
155 | |
156 | These watchers might use %SIG, so programs overwriting those signals |
156 | These watchers might use %SIG, so programs overwriting those signals |
157 | directly will likely not work correctly. |
157 | directly will likely not work correctly. |
158 | |
158 | |