summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-03 22:04:46 +0000
committerGuido van Rossum <guido@python.org>1997-11-03 22:04:46 +0000
commit836e042060b375ad9b6575bf0bade7d3179d3681 (patch)
tree4518f222e6e722c9a46cc68f9b74d7461577f3bd /Python/pythonrun.c
parent55d8a0462f8953981de1d343376830f7663c4a57 (diff)
downloadcpython-836e042060b375ad9b6575bf0bade7d3179d3681.tar.gz
Move the Py_{{BEGIN,END}_ALLOW,BLOCK}_THREADS macros in time_sleep()
to inside floatsleep(). This is necessary because floatsleep() does the error handling and it must have grabbed the interpreter lock and thread state before it can do so.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions