Suppose you are on a computer that doe snot have indivisble machine instructions (such as Test-and_set, Test-and-Swap, etc.) that may be used in the implementation of critical sections. With the aid of pseudo-code, describe how interrupts may be used in the implementation of semaphores????????????
So, basically you're on an Open-Source PC which operates a security-critical subject base. And you're asking us to, including simulated or fake Code to describe how many interrupts should be used while trying to set up mechanical signalling arms?
You're so funny!
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.