[issue7123] Multiprocess Process does not always exit when run from a thread.
Peter Saunders
report at bugs.python.org
Thu Oct 15 12:00:19 CEST 2009
Peter Saunders <pajs at fodder.org.uk> added the comment:
Tested on Linux, and repeated the issue - just to confirm this isn't a
Solaris specific issue.
Tested using dummy_threading - bug does not appear when that is used.
Added _verbose=True to threads, and log_to_stderr(SUBDEBUG) set for Process.
Attached is the output of the script with those set.
Other odd things to notice, and some point, more than 2 children
sometimes exist..
isalive PID: 7646 : True
isalive PID: 7652 : True
isalive PID: 7653 : True
isalive PID: 7646 : True
isalive PID: 7652 : True
isalive PID: 7653 : True
isalive PID: 7646 : True
isalive PID: 7653 : True
The code starts 2 threads, which start 2 processes. Both threads are
joined before new ones are started.. So, in theroy, only 2 should be
able to exist at once.. ?
----------
Added file: http://bugs.python.org/file15132/results1.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7123>
_______________________________________
More information about the Python-bugs-list
mailing list