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
What is gnu os?
What is the next microsoft operating system?
Can I factory reset my laptop without a recovery disc?
What does the g in gnu stand for?
How do you fix a computer that won't start up?
Do cores matter for gaming?
What's the best operating system?
Is the g in gnu silent?
What is the name of first operating system?
Will disk cleanup delete my files?
Dear All, When the patches are installed in the server OS, how will we know that which patch is the latest patch?
How do you fix a crashed computer?
what are latest technologies ? and how will keep yourself up to date ?
Can I delete old updates to free up disk space?
Why context switching is overhead?