Issue1147646
Created on 2005-02-22 19:04 by montulli, last changed 2009-02-16 01:01 by ajaksu2.
|
msg60673 - (view) |
Author: Lou Montulli (montulli) |
Date: 2005-02-22 19:04 |
|
This problem is described well by this post from '03
http://mail.python.org/pipermail/python-dev/2003-August/037729.html
The problem still seems to exist. The solution
described within the post will not work in all cases
because if you do not call PyEval_ReleaseLock then
other threads will be deadlocked, and if you do call
PyEval_ReleaseLock, the thread that originally called
InitThreads will be deadlocked. The only work around
that I have found so far is to use a separate thread
that will never call scripts call InitThreads and then
PyEval_ReleaseLock. After that all threads will run
correctly, but the thread that originally called
InitThreads cannot run python.
Feel free to contact me for any other details, or call
me a bonehead if I screwed something up. lou a
montulli o org
|
|
| Date |
User |
Action |
Args |
| 2009-02-16 01:01:10 | ajaksu2 | set | title: Windows deadlock with PyEval_ReleaseLock -> Windows deadlock with PyEval_ReleaseLock stage: test needed type: behavior versions:
+ Python 2.6, - Python 2.4 |
| 2005-02-22 19:04:55 | montulli | create | |
|