find out all threads?

Tim Williams tim at tdw.net
Sat May 12 10:04:09 EDT 2007


On 11/05/07, Sven Rech <svenrech at gmx.de> wrote:
> Hi,
>
> I have a written a C program which makes use of python embedding.
> I want to find out all threads that a loaded module has started.
> But I can't find anything about this in the docs. Is it possible?
>

Without details of your module, its dificult to say,  maybe

t_count = threading.activeCount()
or
t_count = threading.enumerate()

will do what you need



More information about the Python-list mailing list