From owner-cvs-all Sun Mar 16 9:56:35 2003 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 5DA6B37B401; Sun, 16 Mar 2003 09:56:34 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DEB143F93; Sun, 16 Mar 2003 09:56:33 -0800 (PST) (envelope-from eischen@pcnet1.pcnet.com) Received: from pcnet1.pcnet.com (localhost [127.0.0.1]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h2GHuWBg022059; Sun, 16 Mar 2003 12:56:32 -0500 (EST) Received: from localhost (eischen@localhost) by pcnet1.pcnet.com (8.12.8/8.12.8/Submit) with ESMTP id h2GHuVeH022056; Sun, 16 Mar 2003 12:56:31 -0500 (EST) Date: Sun, 16 Mar 2003 12:56:31 -0500 (EST) From: Daniel Eischen To: Darren Reed Cc: David Xu , John Baldwin , cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/lib/libpthread/thread thr_rwlock.c In-Reply-To: <200303161608.DAA02164@avalon.reed.wattle.id.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 17 Mar 2003, Darren Reed wrote: > So what you're saying is this design prevents bad code being written. > And the problem is ? I agree :-) But unfortunately POSIX allows a thread to recursively take a read lock on a rwlock_t. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message