<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/thread_cthread.h, branch v2.5.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>Remove the unused &amp; broken PyThread_*_sema() functions and related constants.</title>
<updated>2002-01-19T22:02:55+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2002-01-19T22:02:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7bb1c9a11db2ecdf58fed5a5e3a7cdea619d52db'/>
<id>7bb1c9a11db2ecdf58fed5a5e3a7cdea619d52db</id>
<content type='text'>
This closes SF patch #504215.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This closes SF patch #504215.
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #497098: build support for GNU/Hurd.</title>
<updated>2002-01-01T18:41:33+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-01-01T18:41:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a6e975801e37bef27deb3207f6fc8f0c59affb46'/>
<id>a6e975801e37bef27deb3207f6fc8f0c59affb46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Partial patch from SF #452266, by Jason Petrone.</title>
<updated>2001-10-16T21:13:49+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-16T21:13:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3c28863e081986a232d4d2bba3cd9b63e14263c0'/>
<id>3c28863e081986a232d4d2bba3cd9b63e14263c0</id>
<content type='text'>
This changes Pythread_start_thread() to return the thread ID, or -1
for an error.  (It's technically an incompatible API change, but I
doubt anyone calls it.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes Pythread_start_thread() to return the thread ID, or -1
for an error.  (It's technically an incompatible API change, but I
doubt anyone calls it.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix syntax error.  Submitted by Bill Bumgarner.  Apparently this is</title>
<updated>2000-11-13T19:45:45+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-11-13T19:45:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=128bcf4520254bc7f52ba186fa02cd1c279c7591'/>
<id>128bcf4520254bc7f52ba186fa02cd1c279c7591</id>
<content type='text'>
still in use, for Apple Mac OSX.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
still in use, for Apple Mac OSX.
</pre>
</div>
</content>
</entry>
<entry>
<title>REMOVED all CWI, CNRI and BeOpen copyright markings.</title>
<updated>2000-09-01T23:29:29+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-09-01T23:29:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8586991099e4ace18ee94163a96b8ea1bed77ebe'/>
<id>8586991099e4ace18ee94163a96b8ea1bed77ebe</id>
<content type='text'>
This should match the situation in the 1.6b1 tree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should match the situation in the 1.6b1 tree.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mass ANSIfication of function definitions. Doesn't cover all 'extern'</title>
<updated>2000-07-22T18:47:25+00:00</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2000-07-22T18:47:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f70ef4f8606f99744252a804229d53a4d97601c1'/>
<id>f70ef4f8606f99744252a804229d53a4d97601c1</id>
<content type='text'>
declarations yet, those come later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
declarations yet, those come later.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change copyright notice - 2nd try.</title>
<updated>2000-06-30T23:58:06+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-06-30T23:58:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ffcc3813d82e6b96db79f518f4e67b940a13ce64'/>
<id>ffcc3813d82e6b96db79f518f4e67b940a13ce64</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change copyright notice.</title>
<updated>2000-06-30T23:50:40+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-06-30T23:50:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fd71b9e9d496caa510dec56a9b69966558d6ba5d'/>
<id>fd71b9e9d496caa510dec56a9b69966558d6ba5d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trent Mick &lt;trentm@activestate.com&gt;:</title>
<updated>2000-06-30T15:01:00+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-06-30T15:01:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a44d353e2b6d947d36ab9d36c1fc84335a0878fe'/>
<id>a44d353e2b6d947d36ab9d36c1fc84335a0878fe</id>
<content type='text'>
The common technique for printing out a pointer has been to cast to a long
and use the "%lx" printf modifier. This is incorrect on Win64 where casting
to a long truncates the pointer. The "%p" formatter should be used instead.

The problem as stated by Tim:
&gt; Unfortunately, the C committee refused to define what %p conversion "looks
&gt; like" -- they explicitly allowed it to be implementation-defined. Older
&gt; versions of Microsoft C even stuck a colon in the middle of the address (in
&gt; the days of segment+offset addressing)!

The result is that the hex value of a pointer will maybe/maybe not have a 0x
prepended to it.


Notes on the patch:

There are two main classes of changes:
- in the various repr() functions that print out pointers
- debugging printf's in the various thread_*.h files (these are why the
patch is large)


Closes SourceForge patch #100505.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The common technique for printing out a pointer has been to cast to a long
and use the "%lx" printf modifier. This is incorrect on Win64 where casting
to a long truncates the pointer. The "%p" formatter should be used instead.

The problem as stated by Tim:
&gt; Unfortunately, the C committee refused to define what %p conversion "looks
&gt; like" -- they explicitly allowed it to be implementation-defined. Older
&gt; versions of Microsoft C even stuck a colon in the middle of the address (in
&gt; the days of segment+offset addressing)!

The result is that the hex value of a pointer will maybe/maybe not have a 0x
prepended to it.


Notes on the patch:

There are two main classes of changes:
- in the various repr() functions that print out pointers
- debugging printf's in the various thread_*.h files (these are why the
patch is large)


Closes SourceForge patch #100505.
</pre>
</div>
</content>
</entry>
<entry>
<title>Thanks to Chris Herborth, the thread primitives now have proper Py*</title>
<updated>1998-12-21T19:32:43+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-12-21T19:32:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=65d5b5763c6bbd99d2e2c6b219570f4562382ff0'/>
<id>65d5b5763c6bbd99d2e2c6b219570f4562382ff0</id>
<content type='text'>
names in the source code (they already had those for the linker,
through some smart macros; but the source still had the old, un-Py names).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
names in the source code (they already had those for the linker,
through some smart macros; but the source still had the old, un-Py names).
</pre>
</div>
</content>
</entry>
</feed>
