summaryrefslogtreecommitdiffstats
path: root/Include/pythread.h
Commit message (Collapse)AuthorAgeFilesLines
* #1683 prevent forking from interfering in threading storageBenjamin Peterson2008-06-131-0/+3
| | | | This should prevent some test_multiprocessing failures
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-131-0/+3
| | | | | | | | | | 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-3/+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.
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-041-0/+3
|
* New PyGILState_ API - implements pep 311, from patch 684256.Mark Hammond2003-04-191-0/+2
|
* Excise DL_EXPORT from Include.Mark Hammond2002-08-121-16/+16
| | | | Thanks to Skip Montanaro and Kalle Svensson for the patches.
* Remove the unused & broken PyThread_*_sema() functions and related constants.Fred Drake2002-01-191-7/+0
| | | | This closes SF patch #504215.
* Partial patch from SF #452266, by Jason Petrone.Guido van Rossum2001-10-161-1/+1
| | | | | | 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.)
* 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.
* ANSI-fication and Py_PROTO extermination.Fred Drake2000-07-091-30/+22
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Conform to standard boilerplate.Guido van Rossum1999-03-241-3/+34
|
* Thanks to Chris Herborth, the thread primitives now have proper Py*Guido van Rossum1998-12-211-55/+21
| | | | | 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).
* Add DL_IMPORT(returntype) for all officially exported functions.Guido van Rossum1998-12-041-21/+21
|
* Changes for BeOS, QNX and long long, by Chris Herborth.Guido van Rossum1998-08-041-0/+12
|
* Massive changes for separate thread state management.Guido van Rossum1997-05-051-0/+9
| | | | | All per-thread globals are moved into a struct which is manipulated separately.
* Add Macros defining new names for all external symbols.Guido van Rossum1997-03-141-0/+18
|
* Add waitflag to down_sema().Guido van Rossum1996-10-081-1/+3
|
* The great renaming, phase two: all header files have been updated toGuido van Rossum1995-01-121-18/+18
| | | | | | | use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h".
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-0/+6
|
* almodule.c: added close method, equivalent to closeport.Sjoerd Mullender1993-12-201-18/+18
| | | | thread.h: use PROTO instead of _P for prototypes.
* Added C++ support in thread.h; don't use signals if not strictlySjoerd Mullender1992-09-111-5/+12
| | | | | necessary, and when they are, use SIGKILL; when compiled with -DDEBUG, only print debug messages when "THREADDEBUG" is set in the environment.
* New thread.c from Sjoerd, supports _exit_prog(). Use this in goaway()Guido van Rossum1992-08-171-0/+9
| | | | to avoid hanging in cleanup().
* * Makefile adapted to changes below.Guido van Rossum1992-08-041-0/+27
* split pythonmain.c in two: most stuff goes to pythonrun.c, in the library. * new optional built-in threadmodule.c, build upon Sjoerd's thread.{c,h}. * new module from Sjoerd: mmmodule.c (dynamically loaded). * new module from Sjoerd: sv (svgen.py, svmodule.c.proto). * new files thread.{c,h} (from Sjoerd). * new xxmodule.c (example only). * myselect.h: bzero -> memset * select.c: bzero -> memset; removed global variable