diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-10-09 22:47:13 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-10-09 22:47:13 (GMT) |
commit | f9becec8cd989743aeb22d02a0ededddeecc89a6 (patch) | |
tree | c4c4aa8d3053caf18f08444bb066e3e4f3d766a3 /Lib/plat-freebsd4 | |
parent | fda787fcec40a7ff9c4a92ba73091d22bcc8f857 (diff) | |
download | cpython-f9becec8cd989743aeb22d02a0ededddeecc89a6.zip cpython-f9becec8cd989743aeb22d02a0ededddeecc89a6.tar.gz cpython-f9becec8cd989743aeb22d02a0ededddeecc89a6.tar.bz2 |
_PyGILState_Init(), PyGILState_Ensure(): Since PyThread_set_key_value()
can fail, check its return value, and die if it does fail.
_PyGILState_Init(): Assert that the thread doesn't already have an
association for autoTLSkey. If it does, PyThread_set_key_value() will
ignore the attempt to (re)set the association, which the code clearly
doesn't want.
Diffstat (limited to 'Lib/plat-freebsd4')
0 files changed, 0 insertions, 0 deletions