Re: [Libevent-users] regress application

2009-06-05 Thread James Mansion
William Ahern wrote: I'm as much a standards pendant as the next guy, but can you point out any implementation that forks threads (i.e. the fork'd process keeps the threads), or where otherwise forking (other than from a signal handler), actually creates issues? I even expect a positive

Re: [Libevent-users] How libevent works

2009-06-05 Thread Nick Mathewson
On Fri, Jun 05, 2009 at 03:17:00PM -0400, Alex wrote: Hey there. When working with bufferevents, in what order does libevent execute callbacks? Does it fill all the buffers first and then call the CBs, or does it fill a buffer and call its corresponding CB, one at a time? From what I

Re: [Libevent-users] regress application

2009-06-05 Thread James Mansion
Nick Mathewson wrote: Do you want to write the patch to make the unit tests use the right interface as appropriate? No. I've posted a couple of patches into your patch system. These help but I've not attempted to get to a polished state - just a slightly better one. I think, for

Re: [Libevent-users] How libevent works

2009-06-05 Thread Nick Mathewson
On Fri, Jun 05, 2009 at 06:31:35PM -0400, Alex wrote: [...] Hey, great book! I checked it out of git about an hour ago and have been reading it ever since. Since I am decrypting data from the TCP stream I might also want to look in to filtering with the BEV_NEED_MORE flag as well as the