En Fri, 26 Feb 2010 19:10:30 -0300, <pyt...@bdurham.com> escribió:
Is there technique to determine if threads are active in a Python
application?
The only technique I can think of is to check sys.modules for
thread and threading. But this will only show whether these
modules were imported - not whether there are actually background
threads running.
I've just read your post.
Look at threading.activeCount() - this returns only those threads created
using the threading module. If that's not enough, you'll have to use some
OS-specific functions.
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list