[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Re: registering the same filehandle with EV_READ (without EV_PERSIST) multiple times



Taking a closer look to the select.c and epoll.c files of
libevent-1.4.13, I see a possible solution to implement these
features: it involves changing selectop.event_r_by_fd,
selectop.event_w_by_fd, evepoll.evread and evepoll.evwrite to tail
queues which contain all the ``struct event'' values waiting for that
read or write operation on that fd.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.