Re: find out all threads?

2007-05-12 Thread Tim Williams
On 11/05/07, Sven Rech <[EMAIL PROTECTED]> 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
-- 
http://mail.python.org/mailman/listinfo/python-list


find out all threads?

2007-05-11 Thread Sven Rech
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?



-- 
http://mail.python.org/mailman/listinfo/python-list