On Fri, Mar 20, 2009 at 7:45 AM, Thor Lancelot Simon <t...@panix.com> wrote: >> The first way is what you have to do with Libevent 1.4.x and earlier; >> Libevent only supports one _pending_ event at a time per fd/operation >> pair. In other words, it's okay to have two events set to watch >> EV_WRITE on the same FD, but you can only ever add one at a time. > > Just to clarify: I can add two events, one for EV_READ and one for > EV_WRITE, on the same FD, with different callbacks, and that _will_ > work as expected?
Even if that works, isn't it inefficient at the syscall level somehow? _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users