On Wed, Nov 24, 2010 at 14:23, Zsbán Ambrus <[email protected]> wrote:
> On Wed, Nov 24, 2010 at 1:34 PM, Marc Lehmann <[email protected]> wrote:
>> The reason I believe that you don't need it is that ev_run already tells
>> you that the count is 0 _by the act of returning_.
>
> That much works.  But now suppose Ryan's program calls some finalizer,
> and possibly wants to know whether there are active watchers after
> that.  He can recall ev_run, but does ev have a way of telling you
> whether it's returned immediately because there are no watchers?

it smells like a return value for ev_run(), no?

Regards,
Alejandro Mery

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

Reply via email to