Re: A way to know the pending events of a loop

2009-05-21 Thread Space Ship Traveller
Rodrigo, I think what you should do is write a loop over all watches and then process the ones that have pending events in whatever way you need. Kind regards, Samuel On 22/05/2009, at 3:51 AM, Rodrigo Campos wrote: On Thu, May 21, 2009 at 05:26:47PM +0200, Marc Lehmann wrote: On Wed, May

Re: A way to know the pending events of a loop

2009-05-21 Thread Rodrigo Campos
On Thu, May 21, 2009 at 05:26:47PM +0200, Marc Lehmann wrote: > On Wed, May 20, 2009 at 01:20:57PM -0300, Rodrigo Campos > wrote: > > What I tried to say is a function that returns the pendig watchers. Not a > > function > > that takes a watcher and says if its pending or not. For example, a fun

Re: A way to know the pending events of a loop

2009-05-21 Thread Marc Lehmann
On Wed, May 20, 2009 at 01:20:57PM -0300, Rodrigo Campos wrote: > What I tried to say is a function that returns the pendig watchers. Not a > function > that takes a watcher and says if its pending or not. For example, a function > that given a loop it returns the pending watchers of that loop (

Re: A way to know the pending events of a loop

2009-05-20 Thread Rodrigo Campos
On Wed, May 20, 2009 at 04:51:17PM +0200, Marc Lehmann wrote: > On Tue, May 19, 2009 at 10:39:15PM -0300, Rodrigo Campos > wrote: > > I am needing a way to look into the pendig events of a loop (in my case, the > > default loop), or certain types of watchers (ev_timer, for example). > > > > If I

Re: A way to know the pending events of a loop

2009-05-20 Thread Marc Lehmann
On Tue, May 19, 2009 at 10:39:15PM -0300, Rodrigo Campos wrote: > I am needing a way to look into the pendig events of a loop (in my case, the > default loop), or certain types of watchers (ev_timer, for example). > > If I'm not wrong, there is no function to do that right now, but could it be

A way to know the pending events of a loop

2009-05-19 Thread Rodrigo Campos
Hi! I am needing a way to look into the pendig events of a loop (in my case, the default loop), or certain types of watchers (ev_timer, for example). If I'm not wrong, there is no function to do that right now, but could it be added to the wishlist ? :) Or its not provided on purpose because ther