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 the unified memory architecture? Explain.
What is a long term scheduler & short term schedulers?
What is ex and vi?
What is banker's algorithm?
Is operating system a software?
What is tty stand for?
What are the steps of booting?
Have you used threaded trees anytime in your life time?
How do I fix error 429?
What is Concurrency? Expain with example Deadlock and Starvation?
What are the 4 stages of computing?
Can you install a 32bit program on a 64 bit computer?