John Baldwin 7fcca6096f Optimize the adaptive mutex spin a bit. Use a simple while loop with
simple reads (and on IA32, a "pause" instruction for each interation of the
loop) to spin until either the mutex owner field changes, or the lock owner
stops executing.

Suggested by:	tanimura
Tested on:	i386
2002-06-04 21:53:48 +00:00
..
2002-03-25 13:52:45 +00:00
2002-03-25 13:52:45 +00:00
2002-05-16 21:28:32 +00:00
2002-05-28 06:16:08 +00:00
2002-05-16 21:28:32 +00:00
2002-05-16 21:28:32 +00:00
2002-02-07 20:58:47 +00:00
2002-04-06 08:44:04 +00:00
2002-03-19 21:25:46 +00:00
2002-05-18 09:34:09 +00:00
2002-05-28 06:16:08 +00:00
2002-03-19 21:25:46 +00:00
2002-03-19 21:25:46 +00:00
2002-03-19 21:25:46 +00:00
2002-03-19 21:25:46 +00:00
2002-05-28 06:16:08 +00:00
2002-03-19 21:25:46 +00:00
2002-03-19 21:25:46 +00:00
2001-09-12 08:38:13 +00:00
2002-03-19 21:25:46 +00:00
2002-03-19 21:25:46 +00:00
2002-05-16 21:28:32 +00:00
2002-05-16 21:28:32 +00:00
2002-05-16 21:28:32 +00:00
2002-05-16 21:28:32 +00:00