Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 10:10:45 -0700 (PDT)
From:      Daniel Eischen <deischen@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libpthread/thread thr_init.c thr_private.h thr_sig.c thr_spinlock.c
Message-ID:  <200305291710.h4THAjJB043753@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305291710.h4THAjJB043753>