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
What is the fastest computer operating system?
Can I factory reset my laptop without a recovery disc?
What is the most powerful computer in the world 2019?
What is an example of a network operating system?
What is the best memory for a laptop?
What is concurrency go?
what is memory managemant in Win95
What does root mean in computer terms?
How do you fix a computer that won't start up?
How do I make a pdf file on my laptop?
What is a file in computer terms?
What should I consider when buying a laptop?
How do I clean up and speed up my computer?
What are positional parameters?
What is Cycle Stealing in OS?