Question: Spinlocks and interrupt disabling are two basic solutions to the critical section problem. Now consider an embedded system operating system, in which applications and

Spinlocks and interrupt disabling are two basic solutions to the critical section problem. Now consider an 

Spinlocks and interrupt disabling are two basic solutions to the critical section problem. Now consider an embedded system operating system, in which applications and the kernel both runs in the privilege/kernel mode for efficiency. The system has only one CPU for cost reduction. Which one of the aforementioned solutions should the embedded operating system adopt?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Spinlocks are a good solution for embedded systems with a single CPU because they are lightweight and efficient When a thread wants to acquire a spinl... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!