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
Where can I get a free operating system?
How To Convert A Normal Vg To Big & Scalable Vg And Also Big To Scalable Vg?
What is gnu os?
What are compile time Errors?
What is concurrency go?
What is the next microsoft operating system?
What is startup repair on my computer?
How do I clean up my computer to make it run faster?
What is the fastest computer operating system?
Why is android better than ios?
Which processor is better amd or intel?
How do I boot up my computer?
Is google an operating system?
Is the higher the ghz the better?
What is Cycle Stealing in OS?