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
When does the belady's anomaly occur?
How does thread synchronization occur in a monitor?
What are the main functions of a kernel?
How is the total memory on a ram stick calculated?
What are the 5 stages of chkdsk?
Which vpn protocol is best?
Command Kill any user’s all processes.
What are the different synchronization mechanisms?
What do you understand by system clock? What is system unit?
Which is the best page replacement algorithm and Why? How
How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?
How i can repair File Allocation Table?
What is NOS?
Explain the dual channel architecture?
How do I find recently downloaded files?