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 latest android operating system?
How many goroutines are in a core?
Can you turn on a computer with the keyboard?
What is the most powerful processor?
How can I clean up my computer?
iam free downloading the KK Dictionery to my system but that is not installed yet. can anybody tell be why this happen and what the system have to install the software.
What is difference between kernel and os?
How do I clean up and speed up my laptop?
Why context switching is overhead?
When I startup my computer the screen is black?
Assuming feedback to the adversary flugging an error as each incorrect character is entered, what is the expected time to discover the correct password?
Why is my computer so slow?
How do you reset your computer?
How do I make a pdf file on my laptop?
Is i3 good for gaming?