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 reset your computer?

553


windows 3.1 is

581


How do you say gnu?

521


In the token-passing mutual exclusion algorithm, is the timestamping used to reset clocks and correct drifts, as in the distributed queue algorithms? if not, what is the function of the timestamping?

2283


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

2442






What does root mean in computer terms?

533


What is the most powerful server in the world?

563


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

514


What is the best memory for a laptop?

562


Can we compare two files in notepad ++?

574


Why does kernel panic occur?

551


How do you start up a computer?

543


Can you turn on a computer with the keyboard?

510


Is i3 good for gaming?

581


What is the most powerful processor?

591