summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-12-13 01:46:43 +0100
committerVictor Stinner <victor.stinner@gmail.com>2013-12-13 01:46:43 +0100
commit8a61f72f3b16ffad9a22d885bc929a4f70630f0a (patch)
tree6fb91186ea800ad84c8a2dd3b29c2c9f24ac0b39 /Python/sysmodule.c
parente48b5c77b73ef74ec366b36dadf5192e0c8e88f5 (diff)
downloadcpython-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