What is a semaphore?

Answer Posted / muthukumar

semaphore is mutual execution problem presented in the last
section are not easy to more complex problems.
Semaphore is a Only Non Negative integer variable.
semaphore initialized value in 1.
Semaphore only Through Two Standard atomic Operation
P(wait)
s=s-1

and
V(signal)
s=s+1

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you crash a computer?

533


What os is used at google?

539


What's the best operating system?

598


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

520


What is operating system and its examples?

546






what is ms configure?

1779


1) What is an Virtual memory? 2) How do we test API's in both Windows/Linux/Unix? 3) What is an IOCTL? 4) How do you open a char device through API's? 5) What is major num/ minor num? 6) What is the max num for minor num? 7) Who gives you the major / minor numbers? 8) Reverse a string using recursive func. 9) fork/vfork/clone. 10) What does fork returns? 11) What is a zombie process? 12) What happens when a child completes before parent tries to wait for it? 13) Interrupt handlers, top-hdnl....?

2051


What is difference between kernel and os?

574


What is the first operating system in the world?

565


Which is better curl or wget?

595


What is the g in gnu?

558


Is more ram better for streaming?

501


what are latest technologies ? and how will keep yourself up to date ?

2447


How To Enable & Disable Quorum?

616


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

535