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...


There is some data related to temperatures of different cities. One side(thread), will be updating the values and multiple clients will be reading the values. how do you achieve synchronization?



There is some data related to temperatures of different cities. One side(thread), will be updating t..

Answer / mskumar

My Answer was:-

Thread updating the data:- Should acquire the MUTEX lock and update the data & release the MUTEX.

While threads try to read the Data :- Should acquire the lock such that only read access allowed during the lock, not the write lock so that any no.of clients trying to read can read at the same time.

Can some give me thier thoughts if any?

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Operating Systems General Concepts Interview Questions

What factors determine whether a detection-algorithm must be utilized in a deadlock avoidance system?

0 Answers  


What are starvation and aging?

0 Answers  


What is the full form of "windows xp "

10 Answers   IIHT,


How long should a chkdsk r take?

0 Answers  


What are the basic functions of file management in os?

0 Answers  


What are your solution strategies for "Dining Philosophers Problem" ?

1 Answers  


What is Marshalling?

1 Answers  


Critical section is?

2 Answers   Patni, Wipro,


Explain translation lookaside buffer?

0 Answers  


Explain the booting process of a windows xp system.

0 Answers  


How do I get to the root directory?

0 Answers  


What is a hard real time OS?

0 Answers   Motorola,


Categories