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 you have concurrency but not parallelism?
what is multitask win95
What is microsoft spreadsheet compare?
When I press power button on laptop nothing happens?
What is the g in gnu?
How do you restart a crashed laptop?
What is a file in computer terms?
What is concurrency go?
When I startup my computer the screen is black?
What is the latest version of google browser?
What does root mean in computer terms?
windows 3.1 is
Explian T - Factor?
Is go garbage collected?
Can yum install rpm?