Re: [Libevent-users] Recommended way of notifying all active sessions

2012-08-10 Thread Nick Mathewson
On Fri, Aug 10, 2012 at 11:42 AM, Chernyshev Vyacheslav wrote: > Hello. I bet that this question was already asked a couple of times, but… > What is the right way to execute some action for all currently registered > descriptors? Let imagine that I have a lot of active client sessions that > mu

[Libevent-users] Recommended way of notifying all active sessions

2012-08-10 Thread Chernyshev Vyacheslav
Hello. I bet that this question was already asked a couple of times, but… What is the right way to execute some action for all currently registered descriptors? Let imagine that I have a lot of active client sessions that must save some state to DB when socket is closed and that I use buffered e