ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.102 by root, Sat Dec 22 16:21:25 2007 UTC vs.
Revision 1.103 by root, Sun Dec 23 03:44:57 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines