summaryrefslogtreecommitdiff
path: root/Python/condvar.h
AgeCommit message (Collapse)AuthorLines
2017-09-07bpo-30860: Consolidate stateful runtime globals. (#3397)Eric Snow-70/+5
* group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
2017-09-05Revert "bpo-30860: Consolidate stateful runtime globals." (#3379)Eric Snow-5/+70
Windows buildbots started failing due to include-related errors.
2017-09-05bpo-30860: Consolidate stateful runtime globals. (#2594)Eric Snow-70/+5
* group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
2016-09-06replace PY_LONG_LONG with long longBenjamin Peterson-3/+3
2016-08-30Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger-1/+1
2015-03-18Removed unintentional trailing spaces in non-external and non-generated C files.Serhiy Storchaka-3/+3
2014-05-08The PyCOND_TIMEDWAIT must use microseconds for the timeout argumentKristján Valur Jónsson-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
2013-03-19Issue #15038 : Fixing the condition broadcast and docs.Kristján Valur Jónsson-6/+6
2013-01-25Replace WaitForSingleObject with WaitForSingleObjectEx,Martin v. Löwis-1/+1
for better WinRT compatibility.
2012-06-19Issue #15038: Document caveats with the emulated condition variables.Kristjan Valur Jonsson-0/+29
2012-06-19Issue #15038:Kristjan Valur Jonsson-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.
2012-06-18Issue #15038: Optimize python Locks on WindowsKristján Valur Jónsson-0/+353
Extract cross-platform condition variable support into a separate file and provide user-mode non-recursive locks for Windows.