summaryrefslogtreecommitdiffstats
path: root/Python/condvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout ↵Kristján Valur Jónsson2014-05-081-6/+6
|\ | | | | | | | | | | | | | | | | | | 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
| * The PyCOND_TIMEDWAIT must use microseconds for the timeout argumentKristján Valur Jónsson2014-05-081-6/+6
| | | | | | | | | | | | | | | | 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
| * Issue #15038 : Fixing the condition broadcast and docs.Kristján Valur Jónsson2013-03-201-6/+6
| |
* | Issue #15038 : Fixing the condition broadcast and docs.Kristján Valur Jónsson2013-03-201-6/+6
| |
* | Replace WaitForSingleObject with WaitForSingleObjectEx,Martin v. Löwis2013-01-251-1/+1
|/ | | | for better WinRT compatibility.
* Issue #15038: Document caveats with the emulated condition variables.Kristjan Valur Jonsson2012-06-191-0/+29
|
* Issue #15038:Kristjan Valur Jonsson2012-06-191-5/+13
| | | | | | Fix incorrect test of the condition variable state, spotted by Richard Oudkerk. This could cause the internal condition variable to grow without bounds.
* Issue #15038: Optimize python Locks on WindowsKristján Valur Jónsson2012-06-181-0/+353
Extract cross-platform condition variable support into a separate file and provide user-mode non-recursive locks for Windows.