<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/thread_pthread.h, branch 2.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/thread_pthread.h?h=2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/thread_pthread.h?h=2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-01-10T11:12:20Z</updated>
<entry>
<title>cosmetic change to add a commit message for the last commit, accidently</title>
<updated>2002-01-10T11:12:20Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2002-01-10T11:12:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f226f408647044e531112ad16e95dba966d90970'/>
<id>urn:sha1:f226f408647044e531112ad16e95dba966d90970</id>
<content type='text'>
sent with empty message.

sheesh. Lucky I decided it was worth doing last minute complete compile
tests. cvs merge stupid on my part fixed that made solaris builds totally
fail.
</content>
</entry>
<entry>
<title>thread_pthread.h</title>
<updated>2002-01-10T11:10:18Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2002-01-10T11:10:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ca1512cd83b29257023797c21acc55ccef34253c'/>
<id>urn:sha1:ca1512cd83b29257023797c21acc55ccef34253c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>backport of solaris thread patch, adding PTHREAD_SCOPE_SYSTEM support:</title>
<updated>2001-12-23T04:07:25Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2001-12-23T04:07:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=64d8547dbc3dc1705cf216731e8ba5edd31d70b5'/>
<id>urn:sha1:64d8547dbc3dc1705cf216731e8ba5edd31d70b5</id>
<content type='text'>
  Improve threading on Solaris, according to SF patch #460269, submitted
  by bbrox@bbrox.org / lionel.ulmer@free.fr.

  This adds a configure check and if all goes well turns on the
  PTHREAD_SCOPE_SYSTEM thread attribute for new threads.

  This should remove the need to add tiny sleeps at the start of threads
  to allow other threads to be scheduled.

This is a semi-feature, but makes such a huge difference to the
performance of Zope on Solaris that it's worthwhile (well, imho).
</content>
</entry>
<entry>
<title>REMOVED all CWI, CNRI and BeOpen copyright markings.</title>
<updated>2000-09-01T23:29:29Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-09-01T23:29:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8586991099e4ace18ee94163a96b8ea1bed77ebe'/>
<id>urn:sha1:8586991099e4ace18ee94163a96b8ea1bed77ebe</id>
<content type='text'>
This should match the situation in the 1.6b1 tree.
</content>
</entry>
<entry>
<title>This patch partly (some stuff went in already) ports Python to Monterey.</title>
<updated>2000-08-23T21:33:05Z</updated>
<author>
<name>Trent Mick</name>
<email>trentm@activestate.com</email>
</author>
<published>2000-08-23T21:33:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=635f6fb0e9fade3c734d650951815682b08bbec2'/>
<id>urn:sha1:635f6fb0e9fade3c734d650951815682b08bbec2</id>
<content type='text'>
- Fix bug in thread_pthread.h::PyThread_get_thread_ident() where
  sizeof(pthread) &lt; sizeof(long).
- Add 'configure' for:
	- SIZEOF_PTHREAD is pthread_t can be included via &lt;pthread.h&gt;
	- setting Monterey system name
	- appropriate CC,LINKCC,LDSHARED,OPT, and CCSHARED for Monterey
- Add section in README for Monterey build
</content>
</entry>
<entry>
<title>Mass ANSIfication of function definitions. Doesn't cover all 'extern'</title>
<updated>2000-07-22T18:47:25Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2000-07-22T18:47:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f70ef4f8606f99744252a804229d53a4d97601c1'/>
<id>urn:sha1:f70ef4f8606f99744252a804229d53a4d97601c1</id>
<content type='text'>
declarations yet, those come later.
</content>
</entry>
<entry>
<title>Change copyright notice - 2nd try.</title>
<updated>2000-06-30T23:58:06Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-06-30T23:58:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ffcc3813d82e6b96db79f518f4e67b940a13ce64'/>
<id>urn:sha1:ffcc3813d82e6b96db79f518f4e67b940a13ce64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change copyright notice.</title>
<updated>2000-06-30T23:50:40Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-06-30T23:50:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd71b9e9d496caa510dec56a9b69966558d6ba5d'/>
<id>urn:sha1:fd71b9e9d496caa510dec56a9b69966558d6ba5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Trent Mick &lt;trentm@activestate.com&gt;:</title>
<updated>2000-06-30T15:01:00Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-06-30T15:01:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a44d353e2b6d947d36ab9d36c1fc84335a0878fe'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Rob Riggs wrote:</title>
<updated>1999-03-15T20:27:53Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-03-15T20:27:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=701f25ef9dd2b97da2260dabab778ed4ab011047'/>
<id>urn:sha1:701f25ef9dd2b97da2260dabab778ed4ab011047</id>
<content type='text'>
"""
Spec says that on success pthread_create returns 0. It does not say
that an error code will be &lt; 0. Linux glibc2 pthread_create() returns
ENOMEM (12) when one exceed process limits. (It looks like it should
return EAGAIN, but that's another story.)

For reference, see:
http://www.opengroup.org/onlinepubs/7908799/xsh/pthread_create.html
"""

[I have a feeling that similar bugs were fixed before; perhaps someone
could check that all error checks no check for != 0?]
</content>
</entry>
</feed>
