Find active watchers
Marc Lehmann
schmorp at schmorp.de
Thu Apr 21 15:05:31 CEST 2016
On Tue, Apr 19, 2016 at 08:24:11PM +0800, Opera Wang <opera.wang at gmail.com> wrote:
> created on the fly, and some of them are created by other modules, so is
> there any way to tell what are the active watchers and where there were
> created?
Normally by looking at the code - libev does not, in general, keep track of
watchers.
In perl, you could use a debugging module and go through all objects to
find objects of type EV::Something.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the libev
mailing list