Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #4893: Use NT threading on CE. | Martin v. Löwis | 2009-01-12 | 1 | -4/+0 |
| | |||||
* | Adds a sanity check to avoid a *very rare* infinite loop due to a corrupt tls | Gregory P. Smith | 2008-08-04 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | key list data structure in the thread startup path. This change is a companion to r60148 which already successfully dealt with a similar issue on thread shutdown. In particular this loop has been observed happening from this call path: #0 in find_key () #1 in PyThread_set_key_value () #2 in _PyGILState_NoteThreadState () #3 in PyThreadState_New () #4 in t_bootstrap () #5 in pthread_start_thread () I don't know how this happens but it does, *very* rarely. On more than one hardware platform. I have not been able to reproduce it manually. (A flaky mutex implementation on the system in question is one hypothesis). As with r60148, the spinning we managed to observe in the wild was due to a single list element pointing back upon itself. | ||||
* | #1683 prevent forking from interfering in threading storage | Benjamin Peterson | 2008-06-13 | 1 | -0/+31 |
| | | | | This should prevent some test_multiprocessing failures | ||||
* | patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG. | Georg Brandl | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | Handle more memory allocation failures without crashing. | Neal Norwitz | 2006-07-21 | 1 | -0/+2 |
| | |||||
* | Patch #1454481: Make thread stack size runtime tunable. | Andrew MacIntyre | 2006-06-13 | 1 | -0/+27 |
| | | | | | | | | | | 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). | ||||
* | Revert revisions: | Tim Peters | 2006-06-04 | 1 | -33/+0 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | clean up function declarations to conform to PEP-7 style. | Andrew MacIntyre | 2006-06-04 | 1 | -1/+2 |
| | |||||
* | Patch #1454481: Make thread stack size runtime tunable. | Andrew MacIntyre | 2006-06-04 | 1 | -0/+33 |
| | |||||
* | - Changes donated by Elemental Security to make it work on HP-UX 11 on | Guido van Rossum | 2005-09-14 | 1 | -0/+14 |
| | | | | Itanium2 with HP's 64-bit compiler (SF patch #1225212). | ||||
* | find_key(): This routine wasn't thread-correct, and accounts for the | Tim Peters | 2004-10-10 | 1 | -5/+17 |
| | | | | | | release-build failures noted in bug 1041645. This is a critical bugfix. I'm not going to backport it, though (no time). | ||||
* | Document the results of painful reverse-engineering of the "portable TLS" | Tim Peters | 2004-10-09 | 1 | -6/+84 |
| | | | | | | | | | code. PyThread_set_key_value(): It's clear that this code assumes the passed-in value isn't NULL, so document that it must not be, and assert that it isn't. It remains unclear whether existing callers want the odd semantics actually implemented by this function. | ||||
* | Style guide & consistency changes. No semantic changes. | Tim Peters | 2004-10-09 | 1 | -6/+12 |
| | |||||
* | The attached patch fixes FTBFS on GNU/k*BSD. The problem happens on GNU/k*BSD | Matthias Klose | 2004-08-16 | 1 | -0/+10 |
| | | | | | | | | | | because GNU/k*BSD uses gnu pth to provide pthreads, but will also happen on any system that does the same. python fails to build because it doesn't detect gnu pth in pthread emulation. See C comments in patch for details. patch taken from http://bugs.debian.org/264315 | ||||
* | remove support for missing ANSI C header files (limits.h, stddef.h, etc). | Skip Montanaro | 2004-02-10 | 1 | -6/+0 |
| | |||||
* | remove DGUX support. | Skip Montanaro | 2004-01-17 | 1 | -4/+0 |
| | |||||
* | Getting rid of code dependent on GUSI or the MetroWerks compiler. | Jack Jansen | 2003-11-19 | 1 | -4/+0 |
| | |||||
* | Patch #805613: Fix usage of the PTH library. | Martin v. Löwis | 2003-09-20 | 1 | -0/+1 |
| | |||||
* | New PyGILState_ API - implements pep 311, from patch 684256. | Mark Hammond | 2003-04-19 | 1 | -0/+108 |
| | |||||
* | Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT. | Mark Hammond | 2002-07-19 | 1 | -5/+0 |
| | |||||
* | Silence compiler warning | Jeremy Hylton | 2002-06-25 | 1 | -1/+1 |
| | |||||
* | Patch #488073: AtheOS port. | Martin v. Löwis | 2002-06-11 | 1 | -0/+4 |
| | |||||
* | I've been waiting 8 years for KSR to re-emerge from bankruptcy. If they | Tim Peters | 2002-03-25 | 1 | -4/+0 |
| | | | | ever do, they can damn well #define _POSIX_THREADS their own damn selves. | ||||
* | Patch #504224: add plan9 threads include to thread.c. | Martin v. Löwis | 2002-03-09 | 1 | -0/+4 |
| | |||||
* | Include <unistd.h> in Python.h. Fixes #500924. | Martin v. Löwis | 2002-01-12 | 1 | -5/+1 |
| | |||||
* | Partial patch from SF #452266, by Jason Petrone. | Guido van Rossum | 2001-10-16 | 1 | -1/+0 |
| | | | | | | 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.) | ||||
* | Repair more now-obsolete references to config.h. | Tim Peters | 2001-07-26 | 1 | -1/+1 |
| | |||||
* | Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. | Martin v. Löwis | 2001-07-26 | 1 | -1/+1 |
| | |||||
* | Donn Cave <donn@u.washington.edu>: | Fred Drake | 2000-10-06 | 1 | -1/+1 |
| | | | | | | | | Do not assume that all platforms using a MetroWorks compiler can use POSIX threads; the assumption breaks on BeOS. This fix only helps for BeOS. This closes SourceForge patch #101772. | ||||
* | Make better use of GNU Pth -- patch by Andy Dustman. | Guido van Rossum | 2000-09-19 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | I can't test this, so I'm just checking it in with blind faith in Andy. I've tested that it doesn't broeak a non-Pth build on Linux. Changes include: - There's a --with-pth configure option. - Instead of _GNU_PTH, we test for HAVE_PTH. - Better signal handling. - (The config.h.in file is regenerated in a slightly different order.) | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | Prototype yet another forward declaration. | Thomas Wouters | 2000-07-24 | 1 | -1/+1 |
| | |||||
* | Mass ANSIfication of function definitions. Doesn't cover all 'extern' | Thomas Wouters | 2000-07-22 | 1 | -13/+2 |
| | | | | declarations yet, those come later. | ||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | Andy Dustman: add GNU pth user-space thread support. | Guido van Rossum | 2000-05-08 | 1 | -0/+4 |
| | |||||
* | Jack Jansen: Posix threads are now supported on the Macintosh too. | Guido van Rossum | 2000-04-24 | 1 | -0/+4 |
| | |||||
* | Changes by Mark Hammond for Windows CE. Mostly of the form | Guido van Rossum | 1999-04-07 | 1 | -0/+8 |
| | | | | #ifdef DONT_HAVE_header_H ... #endif around #include <header.h>. | ||||
* | Thanks to Chris Herborth, the thread primitives now have proper Py* | Guido van Rossum | 1998-12-21 | 1 | -4/+4 |
| | | | | | 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). | ||||
* | Need to add default decl of DL_IMPORT, for mymalloc.h | Guido van Rossum | 1998-12-04 | 1 | -0/+5 |
| | |||||
* | Renamed thread.h to pythread.h. | Guido van Rossum | 1998-10-01 | 1 | -1/+1 |
| | |||||
* | Changes for BeOS, QNX and long long, by Chris Herborth. | Guido van Rossum | 1998-08-04 | 1 | -0/+4 |
| | |||||
* | os2 patch by Jeff Rush | Guido van Rossum | 1997-11-22 | 1 | -0/+4 |
| | |||||
* | DG/UX thread patches (Ross Andrus) | Guido van Rossum | 1997-05-22 | 1 | -0/+4 |
| | |||||
* | Ugly hack for SGI IRIX 6.2. Apparently _POSIX_THREADS is defined even | Guido van Rossum | 1997-04-29 | 1 | -0/+6 |
| | | | | | when the pthread package is not installed. configure knows better, so #undef _POSIX_THREADS when pthread.h does not exist. | ||||
* | Rename DEBUG macro to Py_DEBUG | Guido van Rossum | 1996-12-30 | 1 | -3/+3 |
| | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -0/+4 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Always include config.h | Guido van Rossum | 1996-08-19 | 1 | -2/+0 |
| | |||||
* | nt thread support | Guido van Rossum | 1995-01-17 | 1 | -0/+4 |
| |