From owner-freebsd-threads@FreeBSD.ORG Sat May 17 01:50:24 2008 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 398AF1065670; Sat, 17 May 2008 01:50:24 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 249DB8FC1F; Sat, 17 May 2008 01:50:24 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 013671A4D82; Fri, 16 May 2008 18:50:24 -0700 (PDT) Date: Fri, 16 May 2008 18:50:23 -0700 From: Alfred Perlstein To: Daniel Eischen Message-ID: <20080517015023.GM32532@elvis.mu.org> References: <482B0297.2050300@icyb.net.ua> <482BBA77.8000704@freebsd.org> <482BF5EA.5010806@icyb.net.ua> <20080516201555.GL32532@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: David Xu , Andriy Gapon , Brent Casavant , freebsd-threads@freebsd.org Subject: Re: thread scheduling at mutex unlock X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2008 01:50:24 -0000 * Daniel Eischen [080516 14:55] wrote: > > I think to be fair, the contested mutex case should try > to handoff the mutex, in lieu of any priority protocol > that is in place for the threads or mutex. And actually, > I think in order to properly implement priority mutexes, > there must be a handoff. > Is this what you are saying? Because it is what I believe. -- - Alfred Perlstein