[Cialug] Event loop problem

Brian Wood woodbrian77 at gmail.com
Mon Jul 14 15:24:21 CDT 2014


On Mon, Jul 14, 2014 at 7:49 PM, Brian Wood <woodbrian77 at gmail.com> wrote:

>
> When the socket descriptor is 1, I get an EBADF on
> an epoll_ctl with an op of EPOLL_CTL_MOD.
> It's on the second call to epoll_ctl though (with
> same input) that it fails.  The first one is related
> to logging in and the second one is due to the
> request via the front tier.
>

This part was wrong.  It's the third call to epoll_ctl that
fails.   The first turns EPOLLOUT on, the second turns
it off, and the third turns it back on.  The first two are
associated with logging in.  The third one is associated
with a request via the front tier.


More information about the Cialug mailing list