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
What is sdram?
Describe Inter Machine Communication?
What first program that the computer runs when the power is turn on?
What is the virtual memory?
Can I change from 32 bit to 64 bit?
Explain briefly about loader and its functioning?
When an input file is opened, what are the possible errors that may occur?
What are the 4 stages of computing?
Does chkdsk erase data?
What do you mean by memory leak?
What happens if we don’t override a run method?
What are the different types of fragmentation?
Explain the various types of registers?
What do you mean by ram?
Explain the purpose of the open() and close() operations.