Let us consider a system with 4 processors. Let 4 processes be executed by the 4 processors separately. But the 4 processes need one single resource (say memory or any physical device).
Now how the OS will manage the resource when all the 4 processes is executed at the same time ?
That is the how the resource will be allocated?
What IPC will be used ?
How we can write a thread for this using mutex?
If the resource in discussion is memory, how the memory will be managed ?