From owner-cvs-src@FreeBSD.ORG Wed Feb 18 07:16:32 2004 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 F32E616A4CE; Wed, 18 Feb 2004 07:16:31 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D692F43D1D; Wed, 18 Feb 2004 07:16:31 -0800 (PST) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1IFGVGe020315; Wed, 18 Feb 2004 07:16:31 -0800 (PST) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1IFGVnY020314; Wed, 18 Feb 2004 07:16:31 -0800 (PST) (envelope-from mtm) Message-Id: <200402181516.i1IFGVnY020314@repoman.freebsd.org> From: Mike Makonnen Date: Wed, 18 Feb 2004 07:16:31 -0800 (PST) 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_mutex.c thr_private.h 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: Wed, 18 Feb 2004 15:16:32 -0000 mtm 2004/02/18 07:16:31 PST FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c thr_private.h Log: o Refactor and, among other things, get rid of insane nesting levels. o Fix mutex priority protocols. Keep separate counts of priority inheritance and protection mutexes to make things easier. This will not have much affect since this is only the userland side, and the rest involves kernel scheduling. Revision Changes Path 1.22 +302 -812 src/lib/libthr/thread/thr_mutex.c 1.31 +5 -1 src/lib/libthr/thread/thr_private.h