Marcus Watts <[EMAIL PROTECTED]> writes:
> code in the picture too.  I'm not positive on this (the Solaris
> man pages are very silent on this), but I *believe* the solaris mutex's
> are "spin locks" - that means when one kernel thread tries to acquire
> the lock, but another processor is already using it - it sits there
> burning up CPU waiting for the other processor to relinquish the lock.
> That's fine for a lock that's released within microseconds; but bad
> news if the other thread is going to be busy for 100 milliseconds doing
> network I/O.

This is correct.

Reply via email to