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 <[email protected] > 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
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to