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
Which processor is better amd or intel?
What is the best free operating system?
Why context switching is overhead?
Which one is the best operating system?
Where do I find disk cleanup?
How To Lock A User's Account?
Explian T - Factor?
How do you find out computer specs?
What os is used at google?
What is the latest android operating system?
How do you clear cache on a laptop?
What is the g in gnu?
Directories can be implemented either as "special files" that can only be accessed in limited ways, or as ordinary data files. What are the advantages and disadvantages of each approach?
What is the most powerful server in the world?
How do I clean up my computer to make it run faster?