Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rob Riggs wrote: | Guido van Rossum | 1999-03-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | """ Spec says that on success pthread_create returns 0. It does not say that an error code will be < 0. Linux glibc2 pthread_create() returns ENOMEM (12) when one exceed process limits. (It looks like it should return EAGAIN, but that's another story.) For reference, see: http://www.opengroup.org/onlinepubs/7908799/xsh/pthread_create.html """ [I have a feeling that similar bugs were fixed before; perhaps someone could check that all error checks no check for != 0?] | ||||
* | Thanks to Chris Herborth, the thread primitives now have proper Py* | Guido van Rossum | 1998-12-21 | 1 | -43/+43 |
| | | | | | 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). | ||||
* | BSDI specific patches, inspired by Nigel Head and otto@mail.olympus.net. | Guido van Rossum | 1998-10-07 | 1 | -1/+22 |
| | | | | | | | | | | | Also (non-BSDI specific): - Change the CHECK_STATUS() macro so it tests for nonzero error codes instead of negative error codes only (this was needed for BSDI, but appears to be correct according to the PTHREADS spec). - use memset() to zero out the allocated lock structure. Again, this was needed for BSDI, but can't hurt elsewhere either. | ||||
* | Apparently on AIX when using gcc you need to call pthread_init() | Guido van Rossum | 1998-09-10 | 1 | -0/+3 |
| | | | | | (which is not a POSIX threads call!). Reported and confirmed by Brad Howes. | ||||
* | Correct typo in #ifdef: PY_THREAD_D4, should be PY_PTHREAD_D4. | Guido van Rossum | 1998-09-04 | 1 | -1/+1 |
| | | | | Reported by Jonathan Giddy. | ||||
* | Add a 'volatile' to the declaration of threadid in get_thread_ident(). | Guido van Rossum | 1998-08-27 | 1 | -1/+1 |
| | | | | | According to Vladimir Marangozov, this is necessary for AIX, where high optimization levels inline this function and then get it wrong :-( | ||||
* | Improved version of patch for HPUX from David Arnold. | Guido van Rossum | 1998-05-14 | 1 | -4/+1 |
| | |||||
* | Support HPUX 10.20 DCE threads. | Guido van Rossum | 1998-05-07 | 1 | -0/+6 |
| | |||||
* | Make new gcc -Wall happy | Guido van Rossum | 1998-04-10 | 1 | -1/+2 |
| | |||||
* | Add default case (standard conformance) to avoid piling up | Guido van Rossum | 1997-06-02 | 1 | -4/+4 |
| | | | | system specific #ifdefs. | ||||
* | DG/UX thread patches (Ross Andrus) | Guido van Rossum | 1997-05-22 | 1 | -3/+8 |
| | |||||
* | Add pthred-std define for Linux. | Guido van Rossum | 1997-05-15 | 1 | -0/+2 |
| | |||||
* | Support for various versions of the pthread draft. | Guido van Rossum | 1997-05-13 | 1 | -12/+64 |
| | |||||
* | Add detach call so threads are GC'ed. | Guido van Rossum | 1997-04-30 | 1 | -0/+2 |
| | |||||
* | Working semaphore implementation by Sjoerd. | Guido van Rossum | 1997-01-17 | 1 | -3/+64 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Sjoerd's thread changes (including down_sema typo fix). | Guido van Rossum | 1996-10-08 | 1 | -2/+3 |
| | | | | Note: waitflag not supported on NT. | ||||
* | Changes necessary for AIX. | Guido van Rossum | 1996-08-08 | 1 | -0/+15 |
| | |||||
* | Got rid of florida hack and made it work with Solaris 2.5 pthreads. | Guido van Rossum | 1996-06-11 | 1 | -19/+7 |
| | | | | Wonder if this will break it on all other platforms :-) | ||||
* | Alpha OSF/1 fix | Guido van Rossum | 1995-01-09 | 1 | -1/+4 |
| | |||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 1 | -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(). | ||||
* | ceval.c: dict of local mapping is now a tuple | Guido van Rossum | 1994-05-23 | 1 | -3/+8 |
| | | | | | | | compile.c: lists and dictionary in code objects become tuples import.c: bump MAGIC thread*.[ch]: added thread_ident() function version.c: added '++' to version number and bumped date | ||||
* | Tim's changes; removed some remaining non-functional ifdefs | Guido van Rossum | 1994-05-11 | 1 | -86/+89 |
| | |||||
* | Split thread.c into a number of system-specific files. | Guido van Rossum | 1994-05-09 | 1 | -0/+272 |
Added Tim Peters' pthread version. |