answersLogoWhite

0


Best Answer

A spinlock is basically a loop that constantly checks a condition until it is true. Think of a bunch of kids in the back of a car saying "Are we there yet...are we there yet...are we there yet...". This is a poor implementation for almost any setup, since the lock is wasting processor time that could be doing something more efficient than constantly checking a condition over and over. Also, while the spinlock is running on the processor, the system will be completely unresponsive.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain why spinlocks are not appropriate for single-processor systems yet are often used in multiprocessor systems?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why go for a multiprocessor over a faster single processor?

explain the all instruction in micro processer with example


Explain what it means to appropriate funds?

Appropriate funds = Stealing


What is bcnf explain with example?

define BCNF. Explain with appropriate example


Explain why the term bell curve is appropriate for a graph of a normal distribution of traits?

No


Explain when it might be appropriate to use nutritional supplements?

It might be appropriate to use the nutritional supplements when you body is not able to exact the nutrients from the given foods that you eat.


Explain using appropriate examples the value of converting information from one type into another?

12312312312312312312312321312312


Explain why implementing synchronization primitives by disabling interrupts is not appropriate in a single-processor system if the synchronization primitives are to be used in user-level programs?

Interrupts are not sufficient in multiprocessor systems since disabling inter rupts only prevents other processes from executing on the processor in which inter rupts were disabled; there are no limitations on what processes could be executing on other processors and therefore the process disabling interrupts cannot guarantee mutually exclusive access to program state.


Explain in briefly on the Classification of operating system?

Classification of Advanced OS is done as below:Architecture driven systems, and Application driven system. 1. Architecture driven: * Network OS * Distributed OS * Multiprocessor OS 2. Application driven: * Database OS * Real Time OS * Multimedia OS


With the aid of an appropriate map, explain the types of biomes in Ghana?

aquatic biomes grassland biomes tundra biomes


Can someone explain which word or words are the most appropriate to describe people of Central or South American descent?

latinos


Explain why interrupts are not appropriate for implementing synchronization?

Because they are completely unrelated things? Synchronization can be implemented with semaphores or mutexes.


What should an apology letter contain?

An apology letter should apologize for one's actions, explain what one has learned, explain why the situation or action will no longer occur, and other appropriate or relevant things.