Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2000 08:38:17 +0200
From:      Michael Schuster - TSC SunOS Germany <michael.schuster@germany.sun.com>
To:        Chuck Paterson <cp@bsdi.com>
Cc:        arch@FreeBSD.ORG
Subject:   Re: A new api for asynchronous task execution
Message-ID:  <3928D5D9.75E06D94@germany.sun.com>
References:  <200005191912.NAA11320@berserker.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3928D5D9.75E06D94>