diff options
author | Kristján Valur Jónsson <sweskman@gmail.com> | 2014-05-08 10:36:27 (GMT) |
---|---|---|
committer | Kristján Valur Jónsson <sweskman@gmail.com> | 2014-05-08 10:36:27 (GMT) |
commit | ddf343855d787520d1ac72c7dcfdeb91e72731da (patch) | |
tree | 91edb07e67ac96d80390f9c7b9137e74df50c95f /Doc/library | |
parent | 8577e5ae090dcd63447807e77c1dadc8be9602b9 (diff) | |
download | cpython-ddf343855d787520d1ac72c7dcfdeb91e72731da.zip cpython-ddf343855d787520d1ac72c7dcfdeb91e72731da.tar.gz cpython-ddf343855d787520d1ac72c7dcfdeb91e72731da.tar.bz2 |
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 'Doc/library')
0 files changed, 0 insertions, 0 deletions