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 6 cores enough for streaming?

567


Does a disk cleanup delete everything?

581


What causes a corrupt operating system?

521


How To Convert A Normal Vg To Big & Scalable Vg And Also Big To Scalable Vg?

590


How do I compare plugins in notepad ++?

565






What is the most powerful processor?

583


How can I increase storage on my laptop?

518


How do I clean up my computer to make it run faster?

526


What do you mean by Run time Errors?

707


How much memory do I need on my laptop?

560


Which is your favorite editor, shell, programming shell and why?

2074


What is the best os for laptop?

537


discuss the procedures to evaluate disk excess time

2152


Is heap shared between processes?

556


Can I put an ssd in my old computer?

569