Operating Systems·Synchronization·ChallengeSpinning or sleeping while you waitWhen is a spinlock the better choice over a mutex?AWhen many threads contend, since spinning scales betterBWhen the critical section performs I/O, since the thread must stay scheduledCOn a single-core machine, where there is no true parallelismDWhen the wait is shorter than the cost of sleeping and waking a threadCheck answer