[issue10444] A mechanism is needed to override waiting for Python threads to finish
report at bugs.python.org
Wed Nov 17 15:11:13 CET 2010
Michael Hughes <michaelahughes at gmail.com> added the comment:
I have a patch here.
It is to allow for a callback to be set on the main thread which gets called when there are non-daemon threads still alive on exit.
The callback returns True or False indicating whether or not it wants to block. By default, the whole thing blocks.
Added file: http://bugs.python.org/file19625/threadingchange.patch
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list