cvs commit: src/lib/libpthread/thread thr_init.c thr_private.h thr_sig.c thr_spinlock.c

Daniel Eischen deischen at FreeBSD.org
Thu May 29 10:10:47 PDT 2003


deischen    2003/05/29 10:10:45 PDT

  FreeBSD src repository

  Modified files:
    lib/libpthread/thread thr_init.c thr_private.h thr_sig.c 
                          thr_spinlock.c 
  Log:
  Don't really spin on a spinlock; silently convert it to the same
  low-level lock used by the libpthread implementation.  In the
  future, we'll eliminate spinlocks from libc but that will wait
  until after 5.1-release.
  
  Don't call an application signal handler if the handler is
  the same as the library-installed handler.  This seems to
  be possible after a fork and is the cause of konsole hangs.
  
  Approved by:    re@ (jhb)
  
  Revision  Changes    Path
  1.53      +1 -0      src/lib/libpthread/thread/thr_init.c
  1.88      +2 -1      src/lib/libpthread/thread/thr_private.h
  1.52      +3 -2      src/lib/libpthread/thread/thr_sig.c
  1.16      +65 -13    src/lib/libpthread/thread/thr_spinlock.c


More information about the cvs-src mailing list