From owner-cvs-src@FreeBSD.ORG Thu May 29 10:10:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDEC137B407; Thu, 29 May 2003 10:10:46 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A0C943F85; Thu, 29 May 2003 10:10:46 -0700 (PDT) (envelope-from deischen@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4THAk0U043754; Thu, 29 May 2003 10:10:46 -0700 (PDT) (envelope-from deischen@repoman.freebsd.org) Received: (from deischen@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4THAjJB043753; Thu, 29 May 2003 10:10:45 -0700 (PDT) Message-Id: <200305291710.h4THAjJB043753@repoman.freebsd.org> From: Daniel Eischen Date: Thu, 29 May 2003 10:10:45 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpthread/thread thr_init.c thr_private.h thr_sig.c thr_spinlock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 17:10:47 -0000 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