Re: [Libevent-users] Forked processes and signals

2011-03-06 Thread Nick Mathewson
On Sat, Mar 5, 2011 at 4:59 AM, Christophe Fillot wrote: [...] > I guess this behavior is related to the epoll mechanism. > Hi, Christophe! I just tried your code and found out that the bug does not appear on OSX 10.5 at all, but does appear on Linux whether it's using the epoll mechanism or not

[Libevent-users] Chicken and Egg when disconnecting users from a threaded base

2011-03-06 Thread Kevin Bowling
Having a bit of trouble handling disconnects with libevent Right now, we disable the event from a worker and call bufferevent_free from there. However, as seen in the included back trace, there is a race between the event base trying to acquire another reference. In general, how should this prob