From owner-cvs-all Thu Aug 8 8:53:31 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08E2A37B400; Thu, 8 Aug 2002 08:53:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B110743E42; Thu, 8 Aug 2002 08:53:23 -0700 (PDT) (envelope-from jdp@FreeBSD.org) Received: from freefall.freebsd.org (jdp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g78FrNJU059451; Thu, 8 Aug 2002 08:53:23 -0700 (PDT) (envelope-from jdp@freefall.freebsd.org) Received: (from jdp@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g78FrNCM059450; Thu, 8 Aug 2002 08:53:23 -0700 (PDT) Message-Id: <200208081553.g78FrNCM059450@freefall.freebsd.org> From: John Polstra Date: Thu, 8 Aug 2002 08:53:23 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/rtld-elf rtld.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jdp 2002/08/08 08:53:23 PDT Modified files: libexec/rtld-elf rtld.c Log: Don't acquire the writer lock in rtld_exit when clearing the shared objects' reference counts. This function is called by the atexit mechanism at program shutdown. I don't think the locking is necessary here. It caused OpenOffice builds to hang more often than not. Credit to Martin Blapp and Matt Dillon for helping to diagnose this problem and for testing the fix. Revision Changes Path 1.66 +0 -2 src/libexec/rtld-elf/rtld.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message