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 |
how many types of operating system
What are real-time systems?
What are the different synchronization mechanisms?
Will chkdsk fix corrupt files?
How do I copy a full file path?
When does the condition 'rendezvous' arise?
What is the x86 folder?
What is the purpose of system programs?
Explain how a TP Monitor manages memory and processor resources more effectively than a typical operating system.
Explain how a copying garbage collector works. How can it be implemented using semispaces?
How can you check whether a machine is 64 bit or 32 bit?
Explain smp.