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


Implement a multiple-reader-single-writer lock given a
compare-and-swap instruction. Readers cannot overtake
waiting writers.



Implement a multiple-reader-single-writer lock given a compare-and-swap instruction. Readers canno..

Answer / raj

Semaphores

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More Puzzles Interview Questions

Five students - Akash, Chintan, Jignesh, Mukund and Venky - appeared for an exam. There were total five questions - two multiple choice (a, b or c) and three true/false questions. They answered five questions each and answered as follow. I II III IV V -------------------------------------------------- Chintan c b True True False Akash c c True True True Jignesh a c False True True Mukund b a True True False Venky b b True False True -------------------------------------------------- Also, no two students got the same number of correct answers. Can you tell which are the correct answers? What are their individual score?

1 Answers  


15 people--each has to pay Rs.20.. 20 people--each has to pay Rs.18.. for 40 people--how much has to pay

6 Answers  


If 5/2 artists make 5/2 paintings using 5/2 canvases in 5/2 days then how many artists r required to make 25 paintings using 25 canvases in 25 days?

7 Answers  


Here is the family tree of Mr. RAHUL RAHUL | --------------------------------------------- | | | | RATISH YASH OM TRILOK | | ? -------- ------------------ | | | | | AMAR AMIT RAM HARSH ASHOK | | ----- ------- | | | | | How many children does Mr. TRILOK have?

1 Answers  


A man is stranded on a desert island. All he has to drink is a 20oz bottle of sprite. To conserve his drink he decides that on the first day he will drink one oz and the refill the bottle back up with water. On the 2nd day he will drink 2oz and refill the bottle. On the 3rd day he will drink 3oz and so on... By the time all the sprite is gone, how much water has he drunk?

3 Answers  


Vipul was studying for his examinations and the lights went off. It was around 1:00 AM. He lighted two uniform candles of equal length but one thicker than the other. The thick candle is supposed to last six hours and the thin one two hours less. When he finally went to sleep, the thick candle was twice as long as the thin one. For how long did Vipul study in candle light?

13 Answers   Cognizant,


There are 3 persons X, Y and Z. On some day, X lent tractors to Y and Z as many as they had. After a month Y gave as many tractors to X and Z as many as they have. After a month Z did the same thing. At the end of this transaction each one of them had 24. Find the tractors each originally had?

1 Answers  


You have a sheet cake. There is a rectangular piece missing from the inside of the sheet cake. The location of the missing piece is arbitrary. I was told I could assume I had the means to make the cuts. How do you divide the sheet cake into 2 even proportions with 2 cuts?

15 Answers   College School Exams Tests, Global Analytics, Google, Infosys, Oracle,


there r 100 people who buys juice if v take 500 random sample we find 75 people who buys juice then how many random sample they need 2 find remaining 25 buyers

7 Answers   TCS,


there is one flower in the basket on the frist day and it doubles on each day if it get full on 30th day then on what day it will be half?

14 Answers   eClerx,


A farmer needs 8 gallons of water. He has only three unmared buckets, two 6 gallon and one 11 gallon bucket. How can he collect 8 gallons of water using three unmarked buckets? Provide solution with minimal water wastage.

2 Answers  


two father and two son went to a hotel, each paid rs-5 but still total amount was rs-15, how?

2 Answers   Deeanne London,


Categories