<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/thread_nt.h, branch 3.4</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument</title>
<updated>2014-05-08T10:59:52+00:00</updated>
<author>
<name>Kristján Valur Jónsson</name>
<email>sweskman@gmail.com</email>
</author>
<published>2014-05-08T10:59:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5b74badc8d9409ba45b14c8c469e7deed37cecc6'/>
<id>5b74badc8d9409ba45b14c8c469e7deed37cecc6</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>The PyCOND_TIMEDWAIT must use microseconds for the timeout argument</title>
<updated>2014-05-08T10:36:27+00:00</updated>
<author>
<name>Kristján Valur Jónsson</name>
<email>sweskman@gmail.com</email>
</author>
<published>2014-05-08T10:36:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ddf343855d787520d1ac72c7dcfdeb91e72731da'/>
<id>ddf343855d787520d1ac72c7dcfdeb91e72731da</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19787: PyThread_set_key_value() now always set the value</title>
<updated>2013-12-13T10:08:56+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-12-13T10:08:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=590cebe391fb2e199afe9b20ff67e360116a1266'/>
<id>590cebe391fb2e199afe9b20ff67e360116a1266</id>
<content type='text'>
In Python 3.3, PyThread_set_key_value() did nothing if the key already exists
(if the current value is a non-NULL pointer).

When _PyGILState_NoteThreadState() is called twice on the same thread with a
different Python thread state, it still keeps the old Python thread state to
keep the old behaviour. Replacing the Python thread state with the new state
introduces new bugs: see issues #10915 and #15751.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 3.3, PyThread_set_key_value() did nothing if the key already exists
(if the current value is a non-NULL pointer).

When _PyGILState_NoteThreadState() is called twice on the same thread with a
different Python thread state, it still keeps the old Python thread state to
keep the old behaviour. Replacing the Python thread state with the new state
introduces new bugs: see issues #10915 and #15751.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backout changeset 46393019b650</title>
<updated>2013-12-13T03:14:41+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-12-13T03:14:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=441adb8c5782de6fcf71ee3396d114c48cd1cb5b'/>
<id>441adb8c5782de6fcf71ee3396d114c48cd1cb5b</id>
<content type='text'>
test_capi is failing and the fix is not trivial, I prefer to revert
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test_capi is failing and the fix is not trivial, I prefer to revert
</pre>
</div>
</content>
</entry>
<entry>
<title>Close #19787: PyThread_set_key_value() now always set the value. In Python 3.3,</title>
<updated>2013-12-13T02:22:00+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-12-13T02:22:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cd0cb8ccd376186f08fd3ee2be0085f45f66b3d3'/>
<id>cd0cb8ccd376186f08fd3ee2be0085f45f66b3d3</id>
<content type='text'>
the function did nothing if the key already exists (if the current value is a
non-NULL pointer).

_testcapi.run_in_subinterp() now correctly sets the new Python thread state of
the current thread when a subinterpreter is created.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the function did nothing if the key already exists (if the current value is a
non-NULL pointer).

_testcapi.run_in_subinterp() now correctly sets the new Python thread state of
the current thread when a subinterpreter is created.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18203: Replace malloc() with PyMem_RawMalloc() to allocate thread locks</title>
<updated>2013-07-07T15:17:59+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-07T15:17:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=80aa565fb4a4be45ea7b94487bd10f1ab0ff5410'/>
<id>80aa565fb4a4be45ea7b94487bd10f1ab0ff5410</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace WaitForSingleObject with WaitForSingleObjectEx,</title>
<updated>2013-01-25T13:25:48+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2013-01-25T13:25:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b26a9b10ea5f095da0c699e41b29a724021cd09a'/>
<id>b26a9b10ea5f095da0c699e41b29a724021cd09a</id>
<content type='text'>
for better WinRT compatibility.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for better WinRT compatibility.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #15038: Optimize python Locks on Windows</title>
<updated>2012-06-18T20:30:44+00:00</updated>
<author>
<name>Kristján Valur Jónsson</name>
<email>kristjan@ccpgames.com</email>
</author>
<published>2012-06-18T20:30:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e75ff35af2b6c85d48c68b95f295aeac7396b162'/>
<id>e75ff35af2b6c85d48c68b95f295aeac7396b162</id>
<content type='text'>
Extract cross-platform condition variable support into a separate file and
provide user-mode non-recursive locks for Windows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extract cross-platform condition variable support into a separate file and
provide user-mode non-recursive locks for Windows.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #11618: Fix the timeout logic in threading.Lock.acquire() under</title>
<updated>2011-03-30T23:00:32+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2011-03-30T23:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7899acfc23c6262cea8f69bda36cf256cdfc3501'/>
<id>7899acfc23c6262cea8f69bda36cf256cdfc3501</id>
<content type='text'>
Windows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #8844: Regular and recursive lock acquisitions can now be interrupted</title>
<updated>2010-12-15T22:59:16+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-12-15T22:59:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=810023db3e91c18f428e27378d00c3a5a56330c6'/>
<id>810023db3e91c18f428e27378d00c3a5a56330c6</id>
<content type='text'>
by signals on platforms using pthreads.  Patch by Reid Kleckner.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
by signals on platforms using pthreads.  Patch by Reid Kleckner.
</pre>
</div>
</content>
</entry>
</feed>
