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 Wait and Post Operations?
What is the use of popen and pclose?
How to Create Pipes?
What are 3 ipc techniques?
What is ipc problem?
What is Connection style?
How to Initialize Semaphores?
What are the advantages of ipc?
What is ipc certified?
What is an ipc code?
Explain Communication Between Parent and Child Processes?
What is Processes Semaphores?
What is ipc$ used for?
What is ipc a 610 class 3?
What is the use of FIFOs?