diff options
author | Guido van Rossum <guido@python.org> | 1999-06-18 14:22:24 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-18 14:22:24 +0000 |
commit | 1d5ad90c1c13c8310c159b788f9c2227b635aabc (patch) | |
tree | 56ae1d6ef6252c6918fae7518f7865ede0c410f3 /Mac/Tools/IDE/PythonIDEMain.py | |
parent | 7f851869217740347bda37e1c470559602f48b4c (diff) | |
download | cpython-git-1d5ad90c1c13c8310c159b788f9c2227b635aabc.tar.gz |
CRITICAL PATCH!
We occasionally received reports from people getting "invalid tstate"
crashes (this is a fatal error in PyThreadState_Delete()). Finally
several people were able to reproduce it reliably and Tim Peters
discovered that there is a race condition when multiple threads are
calling this function without holding the global interpreter lock (the
function may be called without holding that).
Solved the race condition by adding a lock around the mutating uses of
interp->tstate_head. Tim and Jonathan Giddy have run tests that make
it likely that this fixes the crashes -- although Tim hasn't heard
from the person who reported the original problem.
Diffstat (limited to 'Mac/Tools/IDE/PythonIDEMain.py')
0 files changed, 0 insertions, 0 deletions