What is Semaphore?
Answers were Sorted based on User's Feedback
Answer / sanjay
In simple terms a Semaphore is a unit or resource which is
used for synchrosation between two processes , it is kind
of flag (in abstract terms) which every process will check
before processing ahead to avoid the deadlock situation
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / vinay kashyap
in simple terms semaphore is a unit(count) used to keep track of the resources available..
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / nithi
semaphore is a kind of variable on which we perform 2 operations signal(V) and wait(P) ,a process performs no operation and it will wait if semaphore is <= 0.This is used for synchronization of processes
| Is This Answer Correct ? | 1 Yes | 0 No |
What is tras timing?
What is the function of the control lines in ram?
What are the benefits and losses of placing the functionality in a device controller rather than in placing it in the kernel?
How do I check my os?
How do you sleep in python?
What do you understand by system clock? What is system unit?
What are the 5 basic filing systems?
What is the most used operating system in the world?
What is a volatile keyword?
Define trashing?
What is a critical section in os?
What does tty mean?