Re: [Libevent-users] get next timeout from libevent

2009-12-02 Thread Filippo Giunchedi
Hi Nick, On Tue, Dec 01, 2009 at 11:31:56PM -0500, Nick Mathewson wrote: > > This way the application can poll/select on our lib fds and then make a > > step whenever necessary. > > > > So far so good (please correct me if there's something missing :)). > > Hm. I'm not sure this is such a great

Re: [Libevent-users] get next timeout from libevent

2009-12-01 Thread Nick Mathewson
On Tue, Nov 24, 2009 at 03:31:18PM +0100, Filippo Giunchedi wrote: [rewrapped] > Hi, > > we are trying to build a library which uses libevent but also has > the capability to be integrated into an application's main loop. > > Our solution so far includes three functions: > - get the list of file

[Libevent-users] get next timeout from libevent

2009-11-24 Thread Filippo Giunchedi
Hi, we are trying to build a library which uses libevent but also has the capability to be integrated into an application's main loop. Our solution so far includes three functions: - get the list of file descriptions handled by our library (IOW the list of fds in libevent) - register a callback