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

What is a semaphore?

Answer Posted / chinnadurai.s

Synchronization tool that does not require busy waiting
Semaphore S–integer variable
Two standard operations modify S: wait()and signal()
Originally called P()andV()
Less complicated
Can only be accessed via two indivisible (atomic) operations

wait (S)
{
while S <= 0;
// no-op
S--;
}
&#61548;signal (S)
{
S++;
}

Is This Answer Correct ?    23 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Assuming one link of the Trojan horse copy-and-observe-later chain is broken. There are two other possible angles of attack by Alice: Alice logging on and attempting to read the string directly, and alice assigning a security level of sensitive to the back-pocket file. Does the reference monitor prevent these attacks?

2870


What are different errors encountered while compiling?

1290


Why is android better than ios?

1028


Is i3 good for gaming?

1032


Is more ram better for streaming?

948


Is kernel a os?

990


Which one is the first operating system?

1029


What is the difference between concurrency and parallelism?

1053


What is the latest android operating system?

1047


What does download with adm mean?

982


Can you have concurrency but not parallelism?

1000


What is a file in os?

1045


What is the next microsoft operating system?

1048


What is the shortcut key to refresh laptop?

985


Is chrome os better than windows 10?

1046