exposing activecnt

Zsbán Ambrus ambrus at math.bme.hu
Wed Nov 24 14:23:45 CET 2010


On Wed, Nov 24, 2010 at 1:34 PM, Marc Lehmann <schmorp at schmorp.de> 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?

Ambrus



More information about the libev mailing list