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
Can a laptop have both ssd and hdd?
When I press power button on laptop nothing happens?
Can I restore my computer to yesterday?
How do you clear cache on a laptop?
Is google an operating system?
How do I compare files in notepad ++?
Is gnu an os?
Is the higher the ghz the better?
What is the most powerful computer in the world 2019?
Is the g in gnu silent?
How do I upgrade my operating system?
What is the shortcut key to refresh laptop?
What is the most powerful server in the world?
How To Enable & Disable Quorum?
What is the meaning of slosh login in nfs?