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

Why does kernel panic occur?

726


How many goroutines are in a core?

738


How do you fix a crashed computer?

762


What Command To Restore Backup Of Non - Rootvg?

844


What is the difference between concurrency and parallelism?

743


Can you have concurrency but not parallelism?

720


Is 6 cores enough for streaming?

764


What is the shortcut key to refresh laptop?

685


How can I increase storage on my laptop?

707


what is ms configure?

1920


What is the difference between kernel and operating system?

705


How do you clear cache on a laptop?

739


Can yum install rpm?

828


Is more ram better for streaming?

667


Will disk cleanup delete my files?

673