[issue11158] Python VM deadlock

Vinay Sajip report at bugs.python.org
Thu Feb 10 09:37:34 CET 2011


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

I don't believe that the problem is about threads vs. processes. In the following gist:

https://gist.github.com/820132

I modified the script so that the main process uses a listener thread, rather than a listener process, to collect the logs. (Basically, I changed multiprocessing.Process to threading.Thread, changed the name of the function to listener_thread from listener_process, added an import for threading and updated the comments. No other changes were made.)

The script in the above gist runs fine on Linux Mint Debian and Windows 7 (Python 2.6 in both cases). Please run it on Snow Leopard and report your findings.

----------
resolution:  -> invalid
status: open -> pending

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11158>
_______________________________________


More information about the Python-bugs-list mailing list