]> granicus.if.org Git - python/commit
Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
authorKristján Valur Jónsson <sweskman@gmail.com>
Thu, 8 May 2014 10:59:52 +0000 (10:59 +0000)
committerKristján Valur Jónsson <sweskman@gmail.com>
Thu, 8 May 2014 10:59:52 +0000 (10:59 +0000)
commit5b74badc8d9409ba45b14c8c469e7deed37cecc6
tree888c6a63f3dc808b2ab199f155fe2dd18a8453b8
parente5de66eaa75c77ac1628f2408fc1238ec643288d
parentddf343855d787520d1ac72c7dcfdeb91e72731da
Merging from 3.3: 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
Python/condvar.h
Python/thread_nt.h