[issue13841] multiprocessing should use sys.exit() where possible
sbt
report at bugs.python.org
Tue Jan 24 12:49:38 CET 2012
sbt <shibturn at gmail.com> added the comment:
Currently, on both Windows and Unix, when the main thread of a child process exits:
* atexit callbacks are NOT run (although multiprocessing.util._exit_function IS run),
* the main thread does NOT wait for non-daemonic background threads.
A simple replacement of ExitProcess() by sys.exit() would change this. Whether that would be a good thing, I don't know.
----------
nosy: +sbt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13841>
_______________________________________
More information about the Python-bugs-list
mailing list