… | |
… | |
949 | |
949 | |
950 | This is how one would do it normally anyway, the important point is that |
950 | This is how one would do it normally anyway, the important point is that |
951 | the libev application should not optimise around libev but should leave |
951 | the libev application should not optimise around libev but should leave |
952 | optimisations to libev. |
952 | optimisations to libev. |
953 | |
953 | |
954 | =head3 Ths special problem of dup'ed file descriptors |
954 | =head3 The special problem of dup'ed file descriptors |
955 | |
955 | |
956 | Some backends (e.g. epoll), cannot register events for file descriptors, |
956 | Some backends (e.g. epoll), cannot register events for file descriptors, |
957 | but only events for the underlying file descriptions. That menas when you |
957 | but only events for the underlying file descriptions. That menas when you |
958 | have C<dup ()>'ed file descriptors and register events for them, only one |
958 | have C<dup ()>'ed file descriptors and register events for them, only one |
959 | file descriptor might actually receive events. |
959 | file descriptor might actually receive events. |