Re: [Libevent-users] Multithreaded behavior

2006-09-08 Thread William Ahern
On Fri, Sep 08, 2006 at 10:18:11AM -0700, Scott Lamb wrote: At a high level, I think it would require the basic poll algorithm to be: lock loop: while there are events: dequeue one unlock handle it lock if

Re: [Libevent-users] Multithreaded behavior

2006-09-08 Thread William Ahern
On Fri, Sep 08, 2006 at 04:17:20PM -0700, Scott Lamb wrote: On Sep 8, 2006, at 12:13 PM, William Ahern wrote: Ah. I was approaching it from another angle (one thread per event loop, and the question being how to inject events and balance events into each event loop). Like the first