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
Which is fastest ipc mechanism?
What are the Uses of mmap?
What is ipc name?
What is Shared Access to a File?
What is ipc certified soldering?
What is ipc a 600?
What is Calling connect?
What is Mapped Memory?
What is ipc class 3?
What are the various IPC mechanisms? Why is message passing costlier than semaphore?
What are Pipes?
What is socket in ipc?
What are 3 ipc techniques?
What is Datagram style?
What is ipc certified?