summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorKristj?n Valur J?nsson <sweskman@gmail.com>2014-05-08 10:36:27 +0000
committerKristj?n Valur J?nsson <sweskman@gmail.com>2014-05-08 10:36:27 +0000
commit3d53c3bc64eb55637eb8b4c44c5f26b5768054f6 (patch)
tree804ff63d1bb1afa9b422a65e23dc721d85b44751 /Python/pythonrun.c
parentec54496b6cd3635a12ba8c52c6f43b7dfa99800e (diff)
downloadcpython-3d53c3bc64eb55637eb8b4c44c5f26b5768054f6.tar.gz
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables. At the same time, it must be large enough to accept 31 bits of milliseconds, which is the maximum timeout value in the windows API. A PY_LONG_LONG of microseconds fullfills both requirements. This closes issue #20737
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions