Linux IPC Question:
Download Questions PDF

How shared memory are accessed if we have two processors trying to acquire the same region?


Synchronization should be done to protect the data
corruption by simultaneous writes from two processes
running on two different processors.
Synchronization between two processors is best done with
the help of spinlocks.
When a process on one processor had locked the shared
memory the other process running on the second processor
shall be doing a busy spin until the first process released
the lock. This is the funda of Spin locks.

Download Linux IPC Interview Questions And Answers PDF

Previous QuestionNext Question
Why do we have serial and parallel interface, which one was faster and why and when we should go for this interface?What does "route" command do?