1. 20 Eyl, 2005 1 kayıt (commit)
  2. 28 Mar, 2005 1 kayıt (commit)
  3. 16 Mar, 2005 1 kayıt (commit)
  4. 07 Tem, 2004 1 kayıt (commit)
    • Michael W. Hudson's avatar
      This closes patch: · 30ea2f22
      Michael W. Hudson yazdı
      [ 960406 ] unblock signals in threads
      
      although the changes do not correspond exactly to any patch attached to
      that report.
      
      Non-main threads no longer have all signals masked.
      
      A different interface to readline is used.
      
      The handling of signals inside calls to PyOS_Readline is now rather
      different.
      
      These changes are all a bit scary!  Review and cross-platform testing
      much appreciated.
      30ea2f22
  5. 04 Mar, 2004 1 kayıt (commit)
  6. 03 Mar, 2004 1 kayıt (commit)
  7. 07 Şub, 2004 1 kayıt (commit)
  8. 17 Ock, 2004 1 kayıt (commit)
  9. 19 Kas, 2003 1 kayıt (commit)
  10. 22 Tem, 2003 1 kayıt (commit)
    • Jason Tishler's avatar
      Patch 775605: Cygwin pthread_sigmask() workaround patch · fac083d1
      Jason Tishler yazdı
      Cygwin's pthread_sigmask() implementation appears to be buggy. This
      patch works around this problem by using sigprocmask() instead.
      
      This patch is implemented in a general way so it could be used by other
      platforms too. If this approach is deemed too risky, then I can work up
      a patch that just hacks Python/thread_pthread.h for Cygwin.
      
      Note that I tested this patch against 2.3c1 under Red Hat Linux 8.0 too.
      
      [snip]
      And finally, I need someone to regenerate pyconfig.h.in and configure
      with the same versions of the autotools that are normally used by
      Python.
      
      Neal kindly regenerated pyconfig.h.in and configure for me.
      fac083d1
  11. 19 Nis, 2003 1 kayıt (commit)
  12. 18 Nis, 2003 1 kayıt (commit)
  13. 21 Ock, 2003 1 kayıt (commit)
  14. 11 Ara, 2002 1 kayıt (commit)
  15. 02 Ara, 2002 1 kayıt (commit)
  16. 04 Eki, 2002 1 kayıt (commit)
  17. 17 Mar, 2002 2 kayıt (commit)
  18. 19 Ock, 2002 1 kayıt (commit)
  19. 15 Ock, 2002 1 kayıt (commit)
  20. 09 Kas, 2001 1 kayıt (commit)
  21. 16 Eki, 2001 1 kayıt (commit)
  22. 15 Eki, 2001 1 kayıt (commit)
  23. 12 Eki, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      Add SF patch #468347 -- mask signals for non-main pthreads, by Jason Lowe: · 80230998
      Guido van Rossum yazdı
         This patch updates Python/thread_pthread.h to mask all
         signals for any thread created. This will keep all
         signals masked for any thread that isn't the initial
         thread. For Solaris and Linux, the two platforms I was
         able to test it on, it solves bug #465673 (pthreads
         need signal protection) and probably will solve bug
         #219772 (Interactive InterPreter+ Thread -> core dump
         at exit).
      
         I'd be great if this could get some testing on other
         platforms, especially HP-UX pre 11.00 and post 11.00,
         as I had to make some guesses for the DCE thread case.
         AIX is also a concern as I saw some mention of using
         sigthreadmask() as a pthread_sigmask() equivalent, but
         this patch doesn't use sigthreadmask(). I don't have
         access to AIX.
      80230998
  24. 10 Eyl, 2001 1 kayıt (commit)
  25. 29 Agu, 2001 1 kayıt (commit)
  26. 01 Eyl, 2000 1 kayıt (commit)
  27. 23 Agu, 2000 1 kayıt (commit)
    • Trent Mick's avatar
      This patch partly (some stuff went in already) ports Python to Monterey. · 635f6fb0
      Trent Mick yazdı
      - Fix bug in thread_pthread.h::PyThread_get_thread_ident() where
        sizeof(pthread) < sizeof(long).
      - Add 'configure' for:
      	- SIZEOF_PTHREAD is pthread_t can be included via <pthread.h>
      	- setting Monterey system name
      	- appropriate CC,LINKCC,LDSHARED,OPT, and CCSHARED for Monterey
      - Add section in README for Monterey build
      635f6fb0
  28. 22 Tem, 2000 1 kayıt (commit)
  29. 30 Haz, 2000 3 kayıt (commit)
    • Guido van Rossum's avatar
      Change copyright notice - 2nd try. · ffcc3813
      Guido van Rossum yazdı
      ffcc3813
    • Guido van Rossum's avatar
      Change copyright notice. · fd71b9e9
      Guido van Rossum yazdı
      fd71b9e9
    • Fred Drake's avatar
      Trent Mick <trentm@activestate.com>: · a44d353e
      Fred Drake yazdı
      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.
      a44d353e
  30. 15 Mar, 1999 1 kayıt (commit)
    • Guido van Rossum's avatar
      Rob Riggs wrote: · 701f25ef
      Guido van Rossum yazdı
      """
      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?]
      701f25ef
  31. 21 Ara, 1998 1 kayıt (commit)
  32. 07 Eki, 1998 1 kayıt (commit)
    • Guido van Rossum's avatar
      BSDI specific patches, inspired by Nigel Head and otto@mail.olympus.net. · 9e46e562
      Guido van Rossum yazdı
      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.
      9e46e562
  33. 10 Eyl, 1998 1 kayıt (commit)
  34. 04 Eyl, 1998 1 kayıt (commit)
  35. 27 Agu, 1998 1 kayıt (commit)
  36. 14 May, 1998 1 kayıt (commit)
  37. 07 May, 1998 1 kayıt (commit)