diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-12-13 00:46:43 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-12-13 00:46:43 (GMT) |
commit | 62ca10051b5aa07b86807a50674dbef4cace22f7 (patch) | |
tree | a44e3375e425b589df8b8131f1c7f4b05b1979d8 /Python/ceval.c | |
parent | 56668dc187d9b77b76c8906a8e23198314aec18a (diff) | |
download | cpython-62ca10051b5aa07b86807a50674dbef4cace22f7.zip cpython-62ca10051b5aa07b86807a50674dbef4cace22f7.tar.gz cpython-62ca10051b5aa07b86807a50674dbef4cace22f7.tar.bz2 |
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/ceval.c')
0 files changed, 0 insertions, 0 deletions