A way to know the pending events of a loop

Space Ship Traveller space.ship.traveller at gmail.com
Thu May 21 18:18:43 CEST 2009


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 20, 2009 at 01:20:57PM -0300, Rodrigo Campos <rodrigo at sdfg.com.ar 
>> > 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 (in  
>>> some way).
>>
>> No, but you can write such a function as outlined in my reply.
>
>
> Thanks a lot :)
>
>
>
> Rodrigo
>
> _______________________________________________
> libev mailing list
> libev at lists.schmorp.de
> http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20090522/05aff87a/attachment.html>


More information about the libev mailing list