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 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
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
Get step-by-step solutions from verified subject matter experts
