Answer Posted / kiruthiga
Semaphore is a nonnegative integer count. Semaphores are
typically used to coordinate access to resources, with the
semaphore count initialized to the number of free
resources. Threads then atomically increment the count when
resources are added and atomically decrement the count when
resources are removed.
When the semaphore count becomes zero, no more resources
are present. Threads that try to decrement the semaphore
when the count is zero block until the count becomes
greater than zero.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
Explain briefly what is meant by trap and a trapdoor?
How do I find the path of a shared folder?
Throw some light on internal process memory.
Which are the necessary conditions to achieve a deadlock?
Explain the Difference between Process and a Thread.
What are the different types package forms?
Explain the concept of the multi-processor systems or parallel systems?
Explain condition variable.
What is a 64 bit application?
How much ram can a 64 bit os use?
When would you choose Top-down methodology?
When the pipe is used?
What are the steps involved in following a particular instruction given by the cpu?
Is vmware a hypervisor?
What is plumbing/piping?