PyEval_AcquireLock deadlock mystery
Simon Burton
simonb at NOTTHISBIT.webone.com.au
Sun Feb 15 01:32:38 EST 2004
Whoa, this was a tough one. But now i know about --with-pydebug and a few
other things.
Python only releases the GIL every once in a while
and my test code used only one instruction that held the GIL in the main
thread. It dawned on me after watching backtraces of acquire/release
locks of the working/not working versions.
Simon.
--
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com
More information about the Python-list
mailing list