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

Which is fastest ipc mechanism?

969


What are the Uses of mmap?

1734


What is ipc name?

974


What is Shared Access to a File?

1579


What is ipc certified soldering?

976


What is ipc a 600?

1078


What is Calling connect?

1733


What is Mapped Memory?

1490


What is ipc class 3?

1010


What are the various IPC mechanisms? Why is message passing costlier than semaphore?

1203


What are Pipes?

1619


What is socket in ipc?

1039


What are 3 ipc techniques?

964


What is Datagram style?

1617


What is ipc certified?

986