… | |
… | |
1032 | optimisations to libev. |
1032 | optimisations to libev. |
1033 | |
1033 | |
1034 | =head3 The special problem of dup'ed file descriptors |
1034 | =head3 The special problem of dup'ed file descriptors |
1035 | |
1035 | |
1036 | Some backends (e.g. epoll), cannot register events for file descriptors, |
1036 | Some backends (e.g. epoll), cannot register events for file descriptors, |
1037 | but only events for the underlying file descriptions. That menas when you |
1037 | but only events for the underlying file descriptions. That means when you |
1038 | have C<dup ()>'ed file descriptors and register events for them, only one |
1038 | have C<dup ()>'ed file descriptors and register events for them, only one |
1039 | file descriptor might actually receive events. |
1039 | file descriptor might actually receive events. |
1040 | |
1040 | |
1041 | There is no workaorund possible except not registering events |
1041 | There is no workaround possible except not registering events |
1042 | for potentially C<dup ()>'ed file descriptors or to resort to |
1042 | for potentially C<dup ()>'ed file descriptors, or to resort to |
1043 | C<EVBACKEND_SELECT> or C<EVBACKEND_POLL>. |
1043 | C<EVBACKEND_SELECT> or C<EVBACKEND_POLL>. |
1044 | |
1044 | |
1045 | =head3 The special problem of fork |
1045 | =head3 The special problem of fork |
1046 | |
1046 | |
1047 | Some backends (epoll, kqueue) do not support C<fork ()> at all or exhibit |
1047 | Some backends (epoll, kqueue) do not support C<fork ()> at all or exhibit |