Tim,
Thank you for your reply.
threading.activeCount() says the numbers of threads but I need to wait untill all threads are
finished( except the main thread).
But If I use a cycle like
while threading.activeCount()>1: #Main threads will still run
time.sleep(10)
print threading.activeCount()
print "***",FINISHED
the whole program stalls( waits) in the cycle like that above.
So, I can not find a solution
Do you have an idea?
Lad.
···
On Wed, Feb 02, 2005 at 04:45:19PM +0100, export@hope.cz wrote:
> How can I check( from MAIN thread) numbers of currently active
> threads that I started?( by using threading.Thread module?) Thanks
> for helpUse threading.activeCount().
--
Tim Lesher <tim@lesher.ws>
http://www.lesher.ws
------- End of forwarded message -------