From owner-cvs-all@FreeBSD.ORG Tue Apr 1 14:39:33 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 1172337B405; Tue, 1 Apr 2003 14:39:33 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E1AF43FCB; Tue, 1 Apr 2003 14:39:32 -0800 (PST) (envelope-from jeff@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 h31MdW0U082542; Tue, 1 Apr 2003 14:39:32 -0800 (PST) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h31MdWvd082541; Tue, 1 Apr 2003 14:39:32 -0800 (PST) Message-Id: <200304012239.h31MdWvd082541@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 1 Apr 2003 14:39:32 -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-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: Tue, 01 Apr 2003 22:39:33 -0000 jeff 2003/04/01 14:39:32 PST FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c thr_private.h Log: - Restore old mutex code from libc_r. It is more standards compliant. This was changed because originally we were blocking on the umtx and allowing the kernel to do the queueing. It was decided that the lib should queue and start the threads in the order it decides and the umtx code would just be used like spinlocks. Revision Changes Path 1.2 +1327 -198 src/lib/libthr/thread/thr_mutex.c 1.2 +36 -6 src/lib/libthr/thread/thr_private.h