[systemd-devel] Bug in source_io_register?
Lennart Poettering
lennart at poettering.net
Wed Oct 16 04:34:38 PDT 2013
On Tue, 15.10.13 18:22, David Strauss (david at davidstrauss.net) wrote:
>
> This appears to be a case of having more than one source enabled for
> the same fd, even if they're for different conditions (EPOLLIN vs.
> EPOLLOUT). I'm looking now at changing the code to use only one source
> but in a disabled, EPOLLIN only, EPOLLIN only, or EPOLLIN | EPOLLOUT
> state.
This is explicitly not supported by epoll, as discussed earlier. You
should get an EEXIST if you try to do this, and rightfully so.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list