summaryrefslogtreecommitdiffstats
path: root/Python/thread_os2.h
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: PyThread_start_new_thread() returns the thread ID, not a flag;Andrew MacIntyre2006-07-231-7/+4
| | | | will backport.
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-131-1/+34
| | | | | | | | | | 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-41/+1
| | | | | | | | | | | | | | | | 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-1/+41
|
* make thread stack size compile-time tunable on OS/2Andrew MacIntyre2005-01-171-1/+5
|
* reformat for PEP-7 style conformanceAndrew MacIntyre2002-12-041-121/+132
|
* typo fix: declaration required for VACPP not EMX+gccAndrew MacIntyre2002-12-041-1/+1
|
* OS/2 EMX port changes (Python part of patch #450267):Andrew MacIntyre2002-02-261-2/+52
| | | | | | | | | Python/ dynload_shlib.c // EMX port emulates dlopen() etc. for DL extensions import.c // changes to support 8.3 DLL name limit (VACPP+EMX) // and case sensitive import semantics importdl.h thread_os2.h
* Remove the unused & broken PyThread_*_sema() functions and related constants.Fred Drake2002-01-191-27/+0
| | | | This closes SF patch #504215.
* SF patch #474500: Make OS/2 locks work like posix locks, from MichaelTim Peters2001-10-311-30/+61
| | | | Muller.
* Partial patch from SF #452266, by Jason Petrone.Guido van Rossum2001-10-161-3/+3
| | | | | | 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-16/+0
| | | | This should match the situation in the 1.6b1 tree.
* Mass ANSIfication of function definitions. Doesn't cover all 'extern'Thomas Wouters2000-07-221-17/+34
| | | | declarations yet, those come later.
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-1/+1
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-301-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | The common technique for printing out a pointer has been to cast to a long and use the "%lx" printf modifier. This is incorrect on Win64 where casting to a long truncates the pointer. The "%p" formatter should be used instead. The problem as stated by Tim: > Unfortunately, the C committee refused to define what %p conversion "looks > like" -- they explicitly allowed it to be implementation-defined. Older > versions of Microsoft C even stuck a colon in the middle of the address (in > the days of segment+offset addressing)! The result is that the hex value of a pointer will maybe/maybe not have a 0x prepended to it. Notes on the patch: There are two main classes of changes: - in the various repr() functions that print out pointers - debugging printf's in the various thread_*.h files (these are why the patch is large) Closes SourceForge patch #100505.
* Thanks to Chris Herborth, the thread primitives now have proper Py*Guido van Rossum1998-12-211-39/+39
| | | | | 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).
* os2 patch by Jeff RushGuido van Rossum1997-11-221-2/+2
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-21/+28
|
* Sjoerd's thread changes (including down_sema typo fix).Guido van Rossum1996-10-081-2/+2
| | | | Note: waitflag not supported on NT.
* OS/2 thread supportGuido van Rossum1995-04-101-0/+214