From owner-cvs-src@FreeBSD.ORG Thu May 29 13:46:54 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 7C3E537B401; Thu, 29 May 2003 13:46:54 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 182CC43F85; Thu, 29 May 2003 13:46:54 -0700 (PDT) (envelope-from mtm@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 h4TKkr0U060625; Thu, 29 May 2003 13:46:53 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4TKkrxi060624; Thu, 29 May 2003 13:46:53 -0700 (PDT) Message-Id: <200305292046.h4TKkrxi060624@repoman.freebsd.org> From: Mike Makonnen Date: Thu, 29 May 2003 13:46:53 -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/libthr/thread thr_exit.c thr_gc.c thr_join.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 20:46:55 -0000 mtm 2003/05/29 13:46:53 PDT FreeBSD src repository Modified files: lib/libthr/thread thr_exit.c thr_gc.c thr_join.c Log: Don't hold the active thread list lock when signaling the gc thread. The dead list thread is sufficient for synchronization. Retire the arch_id (ldt array slot) in the gc thread instead of the doing it in the thread itself. Approved by: re/jhb Revision Changes Path 1.8 +13 -11 src/lib/libthr/thread/thr_exit.c 1.6 +7 -0 src/lib/libthr/thread/thr_gc.c 1.8 +1 -1 src/lib/libthr/thread/thr_join.c