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 is ipc quality?

874


What are the ipc techniques?

891


How to obtain information about shared memory?

1488


How to Initialize Semaphores?

1572


What is Shared Access to a File?

1458


What is ipc 610 620?

1048


What is ipc certified soldering?

878


What are the ipc mechanisms in linux?

985


What are the Uses of mmap?

1623


What is ipc rtos?

1017


What are System Calls?

1643


What is ipc problem?

879


Which is fastest ipc mechanism?

857


What is ipc and its types in linux?

937


What are Private Mappings?

1495