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

Is kernel a os?

510


Dear All, When the patches are installed in the server OS, how will we know that which patch is the latest patch?

1725


discuss the procedures to evaluate disk excess time

2152


How do I run wget?

520


What do you mean by Run time Errors?

703






What's the best operating system?

579


What is concurrency go?

567


How do you restart a crashed laptop?

576


How do you reset your computer?

547


Can I restore my computer to yesterday?

530


When I press power button on laptop nothing happens?

471


How do you fix a computer that won't start up?

504


i want information about real time operating systems because i have an interview tomoorow in valeo company.

2910


Is chrome os better than windows 10?

512


Can we kill init process?

572