diff options
author | Guido van Rossum <guido@python.org> | 1997-11-03 22:04:46 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-11-03 22:04:46 (GMT) |
commit | 8607ae2e570c9a9c31419418d5665b4eb4853003 (patch) | |
tree | bfdc0f7ba023966ef24efe4e63647a7fcb19f775 /Python/pystate.c | |
parent | 3a44e1b9fbf914769083239a1c5deb1a71b2862d (diff) | |
download | cpython-8607ae2e570c9a9c31419418d5665b4eb4853003.zip cpython-8607ae2e570c9a9c31419418d5665b4eb4853003.tar.gz cpython-8607ae2e570c9a9c31419418d5665b4eb4853003.tar.bz2 |
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/pystate.c')
0 files changed, 0 insertions, 0 deletions