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
Is system restore bad for your computer?
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 do you mean by Run time Errors?
How much memory do I need on my laptop?
How do I run wget?
In the token-passing mutual exclusion algorithm, is the timestamping used to reset clocks and correct drifts, as in the distributed queue algorithms? if not, what is the function of the timestamping?
What is the latest version of google browser?
Dear All, When the patches are installed in the server OS, how will we know that which patch is the latest patch?
why we make plex offline online in vxvm?
What is microsoft spreadsheet compare?
Explain about memory management in operating system.
Will disk cleanup delete my files?
How To Convert A Normal Vg To Big & Scalable Vg And Also Big To Scalable Vg?
How do I compare plugins in notepad ++?
How do I clean up and speed up my computer?