svn commit: r252346 - head/share/man/man9
Jilles Tjoelker
jilles at stack.nl
Sat Jun 29 14:02:09 UTC 2013
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.
--
Jilles Tjoelker
More information about the svn-src-head
mailing list