Answer Posted / kondepati
->synchronization tool that does not require busy writing.
->semaphore S-integer variable
->can only be accessesd via two indivisible(atomic) operations
wait(S):while S<=0 do no-op;
S:=s-1;
signal(S):S+1;
semaphores are of two types
COUNTING SEMAPHORE-integer value can range over an
unrestricted domain.
BINARY SEMAPHORE-integer value can range only between 0 and
1;can be simpler to implement.
can implement a counting semaphore S as a binary semaphore.
Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
In the token-passing mutual exclusion algorithm, is the timestamping used to reset clocks and correct drifts, as in the distributed queue algorithms? if not, what is the function of the timestamping?
How do you reset your computer?
How do you pronounce gnu?
What causes a computer not to boot up?
What are compile time Errors?
Assuming feedback to the adversary flugging an error as each incorrect character is entered, what is the expected time to discover the correct password?
Which one is the best operating system?
What is the best os for laptop?
Why is my computer so slow?
What is difference between post and patch?
What is an example of a network operating system?
Do cores matter for gaming?
What is the name of first operating system?
How do I make a pdf file on my laptop?
How do you clear cache on a laptop?