What is a semaphore?

Answer Posted / omkar singh

A semaphore s is an integer value that apart from initialization accessd only through the two standard opereation wait() and signal(). A semaphore s played an important role where shared resources are used. the main objective of the semaphore is to maintain mutual exclusion and provide a solution for critical section problem.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2084


what is memory managemant in Win95

622


Does a disk cleanup delete everything?

585


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

2442


How do you clear cache on a laptop?

539






How do you say gnu?

521


describe the situation in which priority inversion can occur

919


Can I close my computer while updating?

571


What is the most powerful computer in the world 2019?

555


How can I clean up my computer?

554


What is the next microsoft operating system?

564


Can a laptop have both ssd and hdd?

640


What does the g in gnu stand for?

546


What are positional parameters?

490


What is difference between post and put method?

529