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
How do you kill a computer with command prompt?
What is the difference between wget and curl?
Why context switching is overhead?
How much memory do I need on my laptop?
what are latest technologies ? and how will keep yourself up to date ?
Is heap shared between processes?
What is microsoft spreadsheet compare?
Why is android better than ios?
Do simultaneous downloads take longer?
Can yum install rpm?
How do you fix a crashed computer?
What is the latest android operating system?
What is the latest version of google browser?
How do you find out computer specs?
Can you just explain about memory management in iOS?