From owner-freebsd-arch Sun May 21 23:39:36 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 EB75137C039 for ; Sun, 21 May 2000 23:39:33 -0700 (PDT) (envelope-from michael.schuster@germany.sun.com) Received: from emuc05-home.Germany.Sun.COM ([129.157.51.10]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id XAA12483; Sun, 21 May 2000 23:39:31 -0700 (PDT) Received: from germany.sun.com (hacker [129.157.167.97]) by emuc05-home.Germany.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v1.7) with ESMTP id IAA11189; Mon, 22 May 2000 08:39:30 +0200 (MET DST) Message-ID: <3928D5D9.75E06D94@germany.sun.com> Date: Mon, 22 May 2000 08:38:17 +0200 From: Michael Schuster - TSC SunOS 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: Chuck Paterson Cc: arch@FreeBSD.ORG Subject: Re: A new api for asynchronous task execution References: <200005191912.NAA11320@berserker.bsdi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chuck Paterson wrote: > Solaris's default mutexs are adaptive mutexs. Adaptive mutexs > may spin for a bit before giving up and task switching. Let me clarify this: An adaptive mutex spins only when the holder of the mutex is _running_ on another CPU (under the assumption that it will release the lock "soon"). Otherwise, it will block. cheers Michael -- Michael Schuster / Michael.Schuster@germany.sun.com Sun Microsystems GmbH / Richard-Reitzner Allee 8, D-85540 Haar (+49 89) 46008 974 / x12974 Recursion, n.: see 'Recursion' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message