How shared memory are accessed if we have two processors
trying to acquire the same region.
Answer Posted / sridhar marampudi
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.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are 3 ipc techniques?
How to Access a FIFO?
What is ipc message?
What is ipc in linux?
What is ipc for pcb?
What is socket in ipc?
How to Create a FIFO?
What is ipc$ used for?
What is an ipc code?
What is Processes Semaphores?
How to Controll and Deallocate Shared Memory?
What is the use of popen and pclose?
How to Initialize Semaphores?
What is Calling connect?
What is ipc rtos?