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 quality?
What are the ipc techniques?
How to obtain information about shared memory?
How to Initialize Semaphores?
What is Shared Access to a File?
What is ipc 610 620?
What is ipc certified soldering?
What are the ipc mechanisms in linux?
What are the Uses of mmap?
What is ipc rtos?
What are System Calls?
What is ipc problem?
Which is fastest ipc mechanism?
What is ipc and its types in linux?
What are Private Mappings?