Answer Posted / chinnadurai.s
Synchronization tool that does not require busy waiting
Semaphore S–integer variable
Two standard operations modify S: wait()and signal()
Originally called P()andV()
Less complicated
Can only be accessed via two indivisible (atomic) operations
wait (S)
{
while S <= 0;
// no-op
S--;
}
signal (S)
{
S++;
}
| Is This Answer Correct ? | 23 Yes | 11 No |
Post New Answer View All Answers
How do I change my local disk?
Is more ram better for streaming?
Can I put an ssd in my old computer?
What os is used at google?
How do I run a curl command?
What is the most powerful server in the world?
What is difference between post and put method?
what is gr-edge edit?
How many os are there?
What is a file in computer terms?
What is the latest version of google browser?
Can I restore my computer to yesterday?
Is heap shared between processes?
How do I make a pdf file on my laptop?
What is the best os for laptop?