… | |
… | |
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 | |
… | |
… | |
249 | *rxvt-unicode* distribution. |
249 | *rxvt-unicode* distribution. |
250 | |
250 | |
251 | *rxvt-unicode* also cheats a bit by not providing blocking access to |
251 | *rxvt-unicode* also cheats a bit by not providing blocking access to |
252 | condition variables: code blocking while waiting for a condition will |
252 | condition variables: code blocking while waiting for a condition will |
253 | "die". This still works with most modules/usages, and blocking calls |
253 | "die". This still works with most modules/usages, and blocking calls |
254 | must not be in an interactive appliation, so it makes sense. |
254 | must not be in an interactive application, so it makes sense. |
255 | |
255 | |
256 | ENVIRONMENT VARIABLES |
256 | ENVIRONMENT VARIABLES |
257 | The following environment variables are used by this module: |
257 | The following environment variables are used by this module: |
258 | |
258 | |
259 | "PERL_ANYEVENT_VERBOSE" when set to 2 or higher, reports which event |
259 | "PERL_ANYEVENT_VERBOSE" when set to 2 or higher, reports which event |