summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
Commit message (Collapse)AuthorAgeFilesLines
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-131-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 Peters2006-06-041-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 MacIntyre2006-06-041-1/+2
|
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-041-0/+33
|
* - Changes donated by Elemental Security to make it work on HP-UX 11 onGuido van Rossum2005-09-141-0/+14
| | | | Itanium2 with HP's 64-bit compiler (SF patch #1225212).
* find_key(): This routine wasn't thread-correct, and accounts for theTim Peters2004-10-101-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 Peters2004-10-091-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 Peters2004-10-091-6/+12
|
* The attached patch fixes FTBFS on GNU/k*BSD. The problem happens on GNU/k*BSDMatthias Klose2004-08-161-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 Montanaro2004-02-101-6/+0
|
* remove DGUX support.Skip Montanaro2004-01-171-4/+0
|
* Getting rid of code dependent on GUSI or the MetroWerks compiler.Jack Jansen2003-11-191-4/+0
|
* Patch #805613: Fix usage of the PTH library.Martin v. Löwis2003-09-201-0/+1
|
* New PyGILState_ API - implements pep 311, from patch 684256.Mark Hammond2003-04-191-0/+108
|
* Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.Mark Hammond2002-07-191-5/+0
|
* Silence compiler warningJeremy Hylton2002-06-251-1/+1
|
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-0/+4
|
* I've been waiting 8 years for KSR to re-emerge from bankruptcy. If theyTim Peters2002-03-251-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öwis2002-03-091-0/+4
|
* Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis2002-01-121-5/+1
|
* Partial patch from SF #452266, by Jason Petrone.Guido van Rossum2001-10-161-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 Peters2001-07-261-1/+1
|
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-261-1/+1
|
* Donn Cave <donn@u.washington.edu>:Fred Drake2000-10-061-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 Rossum2000-09-191-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 Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Prototype yet another forward declaration.Thomas Wouters2000-07-241-1/+1
|
* Mass ANSIfication of function definitions. Doesn't cover all 'extern'Thomas Wouters2000-07-221-13/+2
| | | | declarations yet, those come later.
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Andy Dustman: add GNU pth user-space thread support.Guido van Rossum2000-05-081-0/+4
|
* Jack Jansen: Posix threads are now supported on the Macintosh too.Guido van Rossum2000-04-241-0/+4
|
* Changes by Mark Hammond for Windows CE. Mostly of the formGuido van Rossum1999-04-071-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 Rossum1998-12-211-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.hGuido van Rossum1998-12-041-0/+5
|
* Renamed thread.h to pythread.h.Guido van Rossum1998-10-011-1/+1
|
* Changes for BeOS, QNX and long long, by Chris Herborth.Guido van Rossum1998-08-041-0/+4
|
* os2 patch by Jeff RushGuido van Rossum1997-11-221-0/+4
|
* DG/UX thread patches (Ross Andrus)Guido van Rossum1997-05-221-0/+4
|
* Ugly hack for SGI IRIX 6.2. Apparently _POSIX_THREADS is defined evenGuido van Rossum1997-04-291-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_DEBUGGuido van Rossum1996-12-301-3/+3
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-0/+4
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Always include config.hGuido van Rossum1996-08-191-2/+0
|
* nt thread supportGuido van Rossum1995-01-171-0/+4
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | | bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error().
* Merge back to main trunkGuido van Rossum1994-08-301-546/+53
|
* Port to Solaris 2.3.Sjoerd Mullender1993-12-031-39/+164
|
* Added widget methods {Height,Width}{,MM}OfScreen.Sjoerd Mullender1993-10-121-1/+1
|
* * Added Fixcprt.py: script to fix copyright message.Guido van Rossum1993-01-261-0/+24
| | | | | | | | | | | * various modules: added 1993 to copyright. * thread.c: added copyright notice. * ceval.c: minor change to error message for "+" * stdwinmodule.c: check for error from wfetchcolor * config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h) * Add declaration of inittab to import.h * sysmodule.c: added sys.builtin_module_names * xxmodule.c, xxobject.c: fix minor errors