Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2013 19:10:09 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: svn commit: r252346 - head/share/man/man9
Message-ID:  <51D01211.2030408@freebsd.org>
In-Reply-To: <20130629140206.GA25876@stack.nl>
References:  <201306281633.r5SGXjFU017827@svn.freebsd.org> <51CEDE2B.60204@freebsd.org> <51CEE326.2010903@freebsd.org> <20130629140206.GA25876@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/29/13 10:02 PM, Jilles Tjoelker wrote:
> On Sat, Jun 29, 2013 at 09:37:42PM +0800, Julian Elischer wrote:
>> On 6/29/13 9:16 PM, Julian Elischer wrote:
>>>> -If the owner is not currently actually running then the spin step
>>>> is skipped.
>>>> +then a thread attempting to acquire the mutex will spin rather
>>>> than yielding
>>>> +the processor.
>> Am I wrong in thinking that it will only spin for a short while,
>> eventually yielding?
>> The original text said this but the new text implies it will spin
>> forever.
> The code actually spins until the state of the lock changes or the
> owning thread is no longer running.

either way I think this needs clarification.

>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51D01211.2030408>