What is a semaphore?

Answer Posted / swetcha

Semaphores r software, blocking, OS assistance solution to
the mutual exclusion problem .It is
basically a non-negative integer variable that saves the
number of wakeup signals sent so they are not lost if the
process is not sleeping

another interpretation is that the semaphore value
represents the number of resources available

Is This Answer Correct ?    101 Yes 34 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I factory reset my laptop without a recovery disc?

547


Is chrome an operating system?

540


How do I clean up and speed up my laptop?

502


Will disk cleanup delete my files?

519


Is microsoft coming out with a new operating system?

531






What is the difference between kernel and operating system?

532


Explian T - Factor?

659


Can we kill init process?

594


What does the g in gnu stand for?

555


What is the shortcut key to refresh laptop?

505


Why is my computer so slow?

552


What happens if you turn off computer during update?

492


Is 6 cores enough for streaming?

583


What is startup repair on my computer?

560


Why is it called gnu?

553