Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are 3 ipc techniques?

913


How to Access a FIFO?

1670


What is ipc message?

965


What is ipc in linux?

909


What is ipc for pcb?

933


What is socket in ipc?

987


How to Create a FIFO?

1663


What is ipc$ used for?

991


What is an ipc code?

1037


What is Processes Semaphores?

1523


How to Controll and Deallocate Shared Memory?

1660


What is the use of popen and pclose?

1754


How to Initialize Semaphores?

1665


What is Calling connect?

1693


What is ipc rtos?

1094