<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/thread_pthread.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>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>Issue #18256: Compilation fix for recent AIX releases.  Patch by David Edelsohn.</title>
<updated>2013-06-18T20:17:48+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2013-06-18T20:17:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9a00e0a41c7bd51cfa9e24977fb81d4dd67e3973'/>
<id>9a00e0a41c7bd51cfa9e24977fb81d4dd67e3973</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h</title>
<updated>2012-12-02T07:38:42+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2012-12-02T07:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=17485bf6f93034003555456810cdaaae6eac6eee'/>
<id>17485bf6f93034003555456810cdaaae6eac6eee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h</title>
<updated>2012-12-02T07:37:00+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2012-12-02T07:37:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=56379c0d8fc17e717ac1ad73353b5991adae6832'/>
<id>56379c0d8fc17e717ac1ad73353b5991adae6832</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Signal condition variables with the mutex held.  Destroy condition variables</title>
<updated>2012-06-05T22:17:42+00:00</updated>
<author>
<name>Kristján Valur Jónsson</name>
<email>kristjan@ccpgames.com</email>
</author>
<published>2012-06-05T22:17:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=187aa545165d8d5eac222ecce29c8a77e0282dd4'/>
<id>187aa545165d8d5eac222ecce29c8a77e0282dd4</id>
<content type='text'>
before their mutexes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
before their mutexes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14184: merge</title>
<updated>2012-03-13T18:31:36+00:00</updated>
<author>
<name>Ned Deily</name>
<email>nad@acm.org</email>
</author>
<published>2012-03-13T18:31:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=577c830531ae6d021ac6f3ca7d9a5c44c879b068'/>
<id>577c830531ae6d021ac6f3ca7d9a5c44c879b068</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14184: Increase the default stack size for secondary threads on</title>
<updated>2012-03-13T18:18:18+00:00</updated>
<author>
<name>Ned Deily</name>
<email>nad@acm.org</email>
</author>
<published>2012-03-13T18:18:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7ca97d5208e37690f43045d5f89098f42d88fd0f'/>
<id>7ca97d5208e37690f43045d5f89098f42d88fd0f</id>
<content type='text'>
Mac OS X to prevent interpreter crashes when compiled on 10.7.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mac OS X to prevent interpreter crashes when compiled on 10.7.
</pre>
</div>
</content>
</entry>
</feed>
