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 the concept of the multi-programmed operating systems?
Which technology does Pentium use - RISC or CISC?
Explain what is meant by CORE DUMPS?
Will my laptop run faster with more ram?
How does thread synchronization occur in a monitor?
Explain the functions of the cu and alu in the cpu of a computer.
Explain paging, faulting, and deadlock?
How are server systems classified?
How does dynamic loading aid in better memory space utilization?
How do I upgrade my excel to 64 bit?
How do an incremental process model and certification work together to produce high quality software? In your own words, describe the intent of certification in the clean room software engineering context.
How does ecc works?
How do you kill pid?
Define scheduling in OS.
Explain about compiler and the functions executed by them?