From owner-cvs-all@FreeBSD.ORG Mon Jun 2 04:01:01 2003 Return-Path: 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 6657B37B401; Mon, 2 Jun 2003 04:01:01 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 064EF43F75; Mon, 2 Jun 2003 04:01:01 -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 h52B100U036827; Mon, 2 Jun 2003 04:01:00 -0700 (PDT) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h52B10ZO036826; Mon, 2 Jun 2003 04:01:00 -0700 (PDT) Message-Id: <200306021101.h52B10ZO036826@repoman.freebsd.org> From: Mike Makonnen Date: Mon, 2 Jun 2003 04:01:00 -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_detach.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 11:01:01 -0000 mtm 2003/06/02 04:01:00 PDT FreeBSD src repository Modified files: lib/libthr/thread thr_detach.c Log: Unwind the _giant_mutex from pthread_detach(). When detaching a joiner thread it's important the correct lock order is observed: lock first the joined and then the joiner. Revision Changes Path 1.4 +8 -8 src/lib/libthr/thread/thr_detach.c