diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-12-13 01:46:43 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-12-13 01:46:43 +0100 |
commit | 8a61f72f3b16ffad9a22d885bc929a4f70630f0a (patch) | |
tree | 6fb91186ea800ad84c8a2dd3b29c2c9f24ac0b39 /Python/sysmodule.c | |
parent | e48b5c77b73ef74ec366b36dadf5192e0c8e88f5 (diff) | |
download | cpython-8a61f72f3b16ffad9a22d885bc929a4f70630f0a.tar.gz |
Close #19576: PyGILState_Ensure() now initializes threads. At startup, Python
has no concrete GIL. If PyGILState_Ensure() is called from a new thread for the
first time and PyEval_InitThreads() was not called yet, a GIL needs to be
created.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions