From owner-freebsd-arch Mon Oct 2 5:23:15 2000 Delivered-To: freebsd-arch@freebsd.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by hub.freebsd.org (Postfix) with ESMTP id 62D8637B502; Mon, 2 Oct 2000 05:23:13 -0700 (PDT) Received: from ms-emuc07-01.Germany.Sun.COM ([129.157.128.14]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id FAA24943; Mon, 2 Oct 2000 05:23:07 -0700 (PDT) Received: from germany.sun.com (hacker [129.157.133.195]) by ms-emuc07-01.Germany.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.9) with ESMTP id OAA12923; Mon, 2 Oct 2000 14:23:05 +0200 (MEST) Message-ID: <39D87DEF.CF3D919C@germany.sun.com> Date: Mon, 02 Oct 2000 14:22:07 +0200 From: Michael Schuster - Sun Germany Organization: Sun Microsystems, Inc. X-Mailer: Mozilla 4.73 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: mjacob@feral.com Cc: Brian Somers , Greg Lehey , Chuck Paterson , Archie Cobbs , Joerg Micheel , Frank Mayhar , John Baldwin , Mark Murray , FreeBSD-arch@FreeBSD.ORG Subject: Re: Mutexes and semaphores (was: cvs commit: src/sys/conf filessrc/sys/sys random.h src/sys/dev/randomdev hash.c hash.h harvest.c randomdev.cyarrow.c yarro) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jacob wrote: > > > I agree - the idea of recursive mutices evil and should go, but the > > idea of an owner should not. It's nice to be able to write code that > > KASSERTs that it already owns a given mutex. > > I'm not sure I agree. Having lived through Solaris hell with recursive mutex > panics, I rather like the BSD/OS approach. chiming in on this a bit late, but nevertheless this begs the question: aren't you shooting the messanger here? > -matt Michael -- Michael Schuster / Michael.Schuster@sun.com Sun Microsystems GmbH / Sonnenallee 1, D-85551 Heimstetten (+49 89) 46008-2974 / x62974 Recursion, n.: see 'Recursion' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message