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 is ipc for pcb?
What is ipc$ used for?
What is Fast Local Communication?
What is socket in ipc?
How to Access a FIFO?
Which is fastest ipc mechanism?
What is ipc and its types in linux?
How to Controll and Deallocate Shared Memory?
How to Map an Ordinary File?
What is ipc rtos?
What is Connection style?
How to Create Pipes?
What is ipc name?
What is the ipc 610?
What are 3 ipc techniques?