Re: [Libevent-users] Question on paired buffer events

2011-07-02 Thread Nick Mathewson
On Thu, Jun 30, 2011 at 1:53 PM, Ed Day wrote: > In reading the documentation on paired buffer events, it says they can > be used in "a networking program that needs to talk to itself".  That > is exactly what I have and this capability sounds like what I need to > implement an internal queue.  Bu

Re: [Libevent-users] Question on paired buffer events

2011-07-01 Thread Mark Ellzey
On Fri, Jul 01, 2011 at 11:51:28AM -0400, Ed Day wrote: > By "fell out the bottom" I mean returned immediately. > > Ed > > Correct, if there are no events in a base, the loop terminates. Normally you use them in situations where you have other things going on. I am assuming this is derived via

Re: [Libevent-users] Question on paired buffer events

2011-07-01 Thread Ed Day
By "fell out the bottom" I mean returned immediately. Ed On Fri, Jul 1, 2011 at 10:35 AM, Mark Ellzey wrote: > On Thu, Jun 30, 2011 at 01:53:12PM -0400, Ed Day wrote: >> I then went into the event dispatch loop and immediately fell out the bottom. >> Is this not the correct way to use these eve

Re: [Libevent-users] Question on paired buffer events

2011-07-01 Thread Mark Ellzey
On Thu, Jun 30, 2011 at 01:53:12PM -0400, Ed Day wrote: > I then went into the event dispatch loop and immediately fell out the bottom. > > Is this not the correct way to use these events? > What does "fell out the bottom" mean? *

[Libevent-users] Question on paired buffer events

2011-06-30 Thread Ed Day
In reading the documentation on paired buffer events, it says they can be used in "a networking program that needs to talk to itself". That is exactly what I have and this capability sounds like what I need to implement an internal queue. But the problem is these events do not seem to cause the e