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 g in gnu?
Does a disk cleanup delete everything?
How do I make a pdf file on my laptop?
Can I delete old updates to free up disk space?
How many goroutines are in a core?
How can I clean up my computer?
What do you mean by Run time Errors?
any body tell me what are the prob's mostly we face and send some critical prob in real time environment in Solaris and veritas (VXVM,VCS)
What is an example of a network operating system?
What are Odm Commands.
What is the most powerful processor?
What do you know about the latest android version Lollipop?
How do I clean up and speed up my laptop?
What causes a computer not to boot up?
Which is better curl or wget?