diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-02-27 17:15:31 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-02-27 17:15:31 (GMT) |
commit | f4e6928c4d259fbff9fa8e48496339009333f228 (patch) | |
tree | 74cc6bf6f7acaaed5b27f4075c8eca323c90ab6c /Misc | |
parent | 8622e93eab3583a7ab4d6018cd9816bb1deef338 (diff) | |
download | cpython-f4e6928c4d259fbff9fa8e48496339009333f228.zip cpython-f4e6928c4d259fbff9fa8e48496339009333f228.tar.gz cpython-f4e6928c4d259fbff9fa8e48496339009333f228.tar.bz2 |
Patch 1413181, by Gabriel Becedillas.
PyThreadState_Delete(): if the auto-GIL-state machinery knows about
the thread state, forget it (since the thread state is being deleted,
continuing to remember it can't help, but can hurt if another thread
happens to get created with the same thread id).
I'll backport to 2.4 next.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -230,6 +230,12 @@ Core and builtins unicode instance if the argument is not an instance of basestring and calling __str__ on the argument returns a unicode instance. +- Patch #1413181: changed ``PyThreadState_Delete()`` to forget about the + current thread state when the auto-GIL-state machinery knows about + it (since the thread state is being deleted, continuing to remember it + can't help, but can hurt if another thread happens to get created with + the same thread id). + Extension Modules ----------------- |