On 7/3/13 12:00 AM, John Baldwin wrote:
On 6/29/13 6:37 AM, Julian Elischer wrote:
On 6/29/13 9:16 PM, Julian Elischer wrote:
thanks!


-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.
It does not use a spin timeout.  I considered adding a separate note to
define adaptive spinning generically as it is used by multiple lock
types (mutexes, rwlocks, and sx locks).

this would be a good idea.


_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to