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 next microsoft operating system?
How do I compare plugins in notepad ++?
Do cores matter for gaming?
why we make plex offline online in vxvm?
Do simultaneous downloads take longer?
How To Enable & Disable Quorum?
What is the name of first operating system?
How many os are there?
The flushing policy is described in the subsection on process migration strategies: a) From the perspective of the source, which other strategy does flushing resembles? b) From the perspective of the target, which other strategy does flushing resemble?
What is Cycle Stealing in OS?
What Command To Take Backup Other Vg's?
How do you say gnu?
Who started gnu?
Why is android better than ios?
What is the shortcut key to refresh laptop?