<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/thread_nt.h, branch v2.5c2</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_nt.h?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/thread_nt.h?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-06-13T15:04:24Z</updated>
<entry>
<title>Patch #1454481:  Make thread stack size runtime tunable.</title>
<updated>2006-06-13T15:04:24Z</updated>
<author>
<name>Andrew MacIntyre</name>
<email>andymac@bullseye.apana.org.au</email>
</author>
<published>2006-06-13T15:04:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9291332de137141057591386b4ba449ae3a5ed48'/>
<id>urn:sha1:9291332de137141057591386b4ba449ae3a5ed48</id>
<content type='text'>
Heavily revised, comprising revisions:
46640 - original trunk revision (backed out in r46655)
46647 - markup fix (backed out in r46655)
46692:46918 merged from branch aimacintyre-sf1454481

branch tested on buildbots (Windows buildbots had problems
not related to these changes).
</content>
</entry>
<entry>
<title>Patch #1495999: Part two of Windows CE changes.</title>
<updated>2006-06-10T12:23:46Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-06-10T12:23:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0e8bd7e1ccf7f47bc0bb920af899c77669016d3d'/>
<id>urn:sha1:0e8bd7e1ccf7f47bc0bb920af899c77669016d3d</id>
<content type='text'>
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
</content>
</entry>
<entry>
<title>Revert revisions:</title>
<updated>2006-06-04T23:52:47Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-06-04T23:52:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=28eeefe566d77cd3af3d675c4f2216c5033fe538'/>
<id>urn:sha1:28eeefe566d77cd3af3d675c4f2216c5033fe538</id>
<content type='text'>
46640 Patch #1454481:  Make thread stack size runtime tunable.
46647 Markup fix

The first is causing many buildbots to fail test runs, and there
are multiple causes with seemingly no immediate prospects for
repairing them.  See python-dev discussion.

Note that a branch can (and should) be created for resolving these
problems, like

svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH

followed by merging rev 46647 to the new branch.
</content>
</entry>
<entry>
<title>clean up function declarations to conform to PEP-7 style.</title>
<updated>2006-06-04T12:59:59Z</updated>
<author>
<name>Andrew MacIntyre</name>
<email>andymac@bullseye.apana.org.au</email>
</author>
<published>2006-06-04T12:59:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=63f0db682e00d051466e5d739ba85f2a30279eef'/>
<id>urn:sha1:63f0db682e00d051466e5d739ba85f2a30279eef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #1454481:  Make thread stack size runtime tunable.</title>
<updated>2006-06-04T12:31:09Z</updated>
<author>
<name>Andrew MacIntyre</name>
<email>andymac@bullseye.apana.org.au</email>
</author>
<published>2006-06-04T12:31:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6539d2d3c758b507f10779e218d52d6c9f355025'/>
<id>urn:sha1:6539d2d3c758b507f10779e218d52d6c9f355025</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #1492356: Port to Windows CE (patch set 1).</title>
<updated>2006-05-22T09:15:18Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-05-22T09:15:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a43190bc789bebfef15fb2b82f94a19a6bc80000'/>
<id>urn:sha1:a43190bc789bebfef15fb2b82f94a19a6bc80000</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge ssize_t branch.</title>
<updated>2006-02-15T17:27:45Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-15T17:27:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=18e165558b24d29e7e0ca501842b9236589b012a'/>
<id>urn:sha1:18e165558b24d29e7e0ca501842b9236589b012a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bug [ 1234979 ] Lock.acquire treats only 1 as True</title>
<updated>2005-07-08T22:26:13Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-07-08T22:26:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=af410b510db2ecee4369ab217692f15bb3be85bc'/>
<id>urn:sha1:af410b510db2ecee4369ab217692f15bb3be85bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>An Anonymous Coward on c.l.py posted a little program with bizarre</title>
<updated>2003-07-04T04:40:45Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-07-04T04:40:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e7e7df96982265022cc0888db954ef4e5301a5c'/>
<id>urn:sha1:2e7e7df96982265022cc0888db954ef4e5301a5c</id>
<content type='text'>
behavior, creating many threads very quickly.  A long debugging session
revealed that the Windows implementation of PyThread_start_new_thread()
was choked with "laziness" errors:

1. It checked MS _beginthread() for a failure return, but when that
   happened it returned heap trash as the function result, instead of
   an id of -1 (the proper error-return value).

2. It didn't consider that the Win32 CreateSemaphore() can fail.

3. When creating a great many threads very quickly, it's quite possible
   that any particular bootstrap call can take virtually any amount of
   time to return.  But the code waited for a maximum of 5 seconds, and
   didn't check to see whether the semaphore it was waiting for got
   signaled.  If it in fact timed out, the function could again return
   heap trash as the function result.  This is actually what confused
   the test program, as the heap trash usually turned out to be 0, and
   then multiple threads all got id 0 simultaneously, confusing the
   hell out of threading.py's _active dict (mapping id to thread
   object).  A variety of baffling behaviors followed from that.

WRT #1 and #2, error returns are checked now, and "thread.error: can't
start new thread" gets raised now if a new thread (or new semaphore)
can't be created.  WRT #3, we now wait for the semaphore without a
timeout.

Also removed useless local vrbls, folded long lines, and changed callobj
to a stack auto (it was going thru malloc/free instead, for no discernible
reason).

Bugfix candidate.
</content>
</entry>
<entry>
<title>SF patch  522961: Leak in Python/thread_nt.h, from Gerald S. Williams.</title>
<updated>2002-02-28T21:34:34Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-02-28T21:34:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e64ef931d6e4ee800fcd156b28269569d989783c'/>
<id>urn:sha1:e64ef931d6e4ee800fcd156b28269569d989783c</id>
<content type='text'>
A file-static "threads" dict mapped thread IDs to Windows handles, but
was never referenced, and entries never got removed.  This gets rid of
the YAGNI-dict entirely.
Bugfix candidate.
</content>
</entry>
</feed>
