Spinlocks are not appropriate for single-processor systems because thecondition that would break a process out of the spinlock can be obtainedonly by executing a different process. If the process is not relinquishingthe processor, other processes do not get the opportunity to set theprogram condition required for the first process to make progress. In amultiprocessor system, other processes execute on other processors andthereby modify the program state in order to release the first processfrom the spinlock.
đang được dịch, vui lòng đợi..
![](//viimg.ilovetranslation.com/pic/loading_3.gif?v=b9814dd30c1d7c59_8619)