<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/thread_pthread.h, branch 2.2</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.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/thread_pthread.h?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-04-19T07:46:28Z</updated>
<entry>
<title>Patch #716969: Detect thread creation failure.</title>
<updated>2003-04-19T07:46:28Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-04-19T07:46:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=52773e317e0267ce9a454ae42dfe3685305bc050'/>
<id>urn:sha1:52773e317e0267ce9a454ae42dfe3685305bc050</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #711835: Remove unnecessary lock operations.</title>
<updated>2003-04-18T11:21:22Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-04-18T11:21:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b15021ed010bf53b88a9f8015b22fa53362f5782'/>
<id>urn:sha1:b15021ed010bf53b88a9f8015b22fa53362f5782</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #618347: Work around Solaris pthread.h bug.</title>
<updated>2002-10-04T10:16:27Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-10-04T10:16:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=067010f7faf6c2a00cc9d9e235c12d8da46d7d4f'/>
<id>urn:sha1:067010f7faf6c2a00cc9d9e235c12d8da46d7d4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport jackjansen's checkin of revision 2.37:</title>
<updated>2002-02-23T08:43:03Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-02-23T08:43:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d17700cc49f273d874eed635199f6f937ce28f8b'/>
<id>urn:sha1:d17700cc49f273d874eed635199f6f937ce28f8b</id>
<content type='text'>
Workaround for what is probably a problem in Apple's gcc: &lt;pthread.h&gt; fails
on a function pointer formal argument called "destructor", which is typedeffed
as a different function pointer type in object.h.
</content>
</entry>
<entry>
<title>Fix memory leak.  This is part of SF patch #478006.</title>
<updated>2001-11-09T16:00:41Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-11-09T16:00:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=03459a5cd776eb5d3c7e427d4007dc1f983975b5'/>
<id>urn:sha1:03459a5cd776eb5d3c7e427d4007dc1f983975b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Partial patch from SF #452266, by Jason Petrone.</title>
<updated>2001-10-16T21:13:49Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-16T21:13:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3c28863e081986a232d4d2bba3cd9b63e14263c0'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Do not define _POSIX_THREADS if unistd.h defines it.</title>
<updated>2001-10-15T14:34:42Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-10-15T14:34:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=69c0ff38362dff3b0a90828b8d787dfb3eb14bc3'/>
<id>urn:sha1:69c0ff38362dff3b0a90828b8d787dfb3eb14bc3</id>
<content type='text'>
Check for pthread_sigmask before using it. Fixes remaining problem in #470781.
</content>
</entry>
<entry>
<title>Add SF patch #468347 -- mask signals for non-main pthreads, by Jason Lowe:</title>
<updated>2001-10-12T21:49:17Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-12T21:49:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=80230998b9ce585bc27a81c2ebad2e4c69fb12f6'/>
<id>urn:sha1:80230998b9ce585bc27a81c2ebad2e4c69fb12f6</id>
<content type='text'>
   This patch updates Python/thread_pthread.h to mask all
   signals for any thread created. This will keep all
   signals masked for any thread that isn't the initial
   thread. For Solaris and Linux, the two platforms I was
   able to test it on, it solves bug #465673 (pthreads
   need signal protection) and probably will solve bug
   #219772 (Interactive InterPreter+ Thread -&gt; core dump
   at exit).

   I'd be great if this could get some testing on other
   platforms, especially HP-UX pre 11.00 and post 11.00,
   as I had to make some guesses for the DCE thread case.
   AIX is also a concern as I saw some mention of using
   sigthreadmask() as a pthread_sigmask() equivalent, but
   this patch doesn't use sigthreadmask(). I don't have
   access to AIX.
</content>
</entry>
<entry>
<title>Improve threading on Solaris, according to SF patch #460269, submitted</title>
<updated>2001-09-10T14:10:54Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-09-10T14:10:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d0b69eceb446ac7176f96c3849c6997ec4ce134f'/>
<id>urn:sha1:d0b69eceb446ac7176f96c3849c6997ec4ce134f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>GUSI on the Mac creates threads with a default stack size of 20KB, which is</title>
<updated>2001-08-29T15:24:53Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2001-08-29T15:24:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c51395d79744a1aeb456d34b9bf5b5ea110ee677'/>
<id>urn:sha1:c51395d79744a1aeb456d34b9bf5b5ea110ee677</id>
<content type='text'>
not enough for Python. Increased the stacksize to a (somewhat arbitrary)
64KB.
</content>
</entry>
</feed>
