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

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



2010/4/24 Péter Szabó <ptspts@xxxxxxxxx>:
> Hi,
>
> I'd like to register two struct event's for the same filehandle, with
> EV_READ (without EV_PERSIST), with multiple callbacks, and whenever
> the file becomes readable, I'd like to get both of my callbacks be
> called

Libevent 1.4.x and earlier don't support this.  Libevent 2.0.x does.

yrs,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.