From owner-cvs-all@FreeBSD.ORG Thu Jan 29 04:03:18 2004 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 B737016A4CE; Thu, 29 Jan 2004 04:03:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EADF143D3F; Thu, 29 Jan 2004 04:03:17 -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 i0TC3H0B029684; Thu, 29 Jan 2004 04:03:17 -0800 (PST) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0TC3Hw9029683; Thu, 29 Jan 2004 04:03:17 -0800 (PST) (envelope-from mtm) Message-Id: <200401291203.i0TC3Hw9029683@repoman.freebsd.org> From: Mike Makonnen Date: Thu, 29 Jan 2004 04:03:17 -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_rwlock.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: Thu, 29 Jan 2004 12:03:18 -0000 mtm 2004/01/29 04:03:17 PST FreeBSD src repository Modified files: lib/libthr/thread thr_rwlock.c Log: I update the rwlock code in libthr to be more standards compliant and what do I get for my troubles? libc breaks offcourse! Reimplement a hack (in libthr) that allows libc to use rwlocks without initializing them first. The hack was reimplemented so that only a private libc version of the rwlock locking functions initializes an uninitialized rwlock. The application version will correctly fail. Revision Changes Path 1.5 +119 -12 src/lib/libthr/thread/thr_rwlock.c