Assume an adaptive mutex is used for accessing shared data on a Solaris system with multiprocessing capabilities. Which of the following statements is not true?
A.A waiting thread may spin while waiting for the lock to become available.
B.A waiting thread may sleep while waiting for the lock to become available.
C.The adaptive mutex is only used to protect short segments of code.
D.Condition variables and semaphores are never used in place of an adaptive mutex.
正确答案是D