… | |
… | |
1105 | .PP |
1105 | .PP |
1106 | This is how one would do it normally anyway, the important point is that |
1106 | This is how one would do it normally anyway, the important point is that |
1107 | the libev application should not optimise around libev but should leave |
1107 | the libev application should not optimise around libev but should leave |
1108 | optimisations to libev. |
1108 | optimisations to libev. |
1109 | .PP |
1109 | .PP |
1110 | \fIThs special problem of dup'ed file descriptors\fR |
1110 | \fIThe special problem of dup'ed file descriptors\fR |
1111 | .IX Subsection "Ths special problem of dup'ed file descriptors" |
1111 | .IX Subsection "The special problem of dup'ed file descriptors" |
1112 | .PP |
1112 | .PP |
1113 | Some backends (e.g. epoll), cannot register events for file descriptors, |
1113 | Some backends (e.g. epoll), cannot register events for file descriptors, |
1114 | but only events for the underlying file descriptions. That menas when you |
1114 | but only events for the underlying file descriptions. That menas when you |
1115 | have \f(CW\*(C`dup ()\*(C'\fR'ed file descriptors and register events for them, only one |
1115 | have \f(CW\*(C`dup ()\*(C'\fR'ed file descriptors and register events for them, only one |
1116 | file descriptor might actually receive events. |
1116 | file descriptor might actually receive events. |