… | |
… | |
404 | =head1 WATCHER TYPES |
404 | =head1 WATCHER TYPES |
405 | |
405 | |
406 | This section describes each watcher in detail, but will not repeat |
406 | This section describes each watcher in detail, but will not repeat |
407 | information given in the last section. |
407 | information given in the last section. |
408 | |
408 | |
409 | =head2 C<ev_io> - is my file descriptor readable or writable |
409 | =head2 C<ev_io> - is this file descriptor readable or writable |
410 | |
410 | |
411 | I/O watchers check whether a file descriptor is readable or writable |
411 | I/O watchers check whether a file descriptor is readable or writable |
412 | in each iteration of the event loop (This behaviour is called |
412 | in each iteration of the event loop (This behaviour is called |
413 | level-triggering because you keep receiving events as long as the |
413 | level-triggering because you keep receiving events as long as the |
414 | condition persists. Remember you cna stop the watcher if you don't want to |
414 | condition persists. Remember you cna stop the watcher if you don't want to |