What is a semaphore?

Answer Posted / rupam quila

The semaphore abstract data type is perhaps the simplest
universally useful implementation of the variables uses as
arguments to the wait and signal operations although there
are many implementations of semaphores, they can be
intuitively thought of as integers, where wait(x) or the
object-orinted x.wait waits until x is greater then zero
and then decrements it, and signal(x)or x.signal increments
x.

Is This Answer Correct ?    5 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you pronounce gnu?

757


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

2271


What is the difference between the OS which you use and other OSs?

757


What is a file in os?

774


what is gr-edge edit?

1888


Why is my computer so slow?

720


Give some examples of use of thread in a single user multiprocessing system

6366


Is microsoft coming out with a new operating system?

686


Which processor is better amd or intel?

757


Can you have concurrency but not parallelism?

711


What do you mean by Run time Errors?

878


Which is better curl or wget?

773


How do I clean up and speed up my computer?

688


How can I reformat my laptop?

682


How many bytes we can send to apple push notification server in iOS operating system?

817