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
How many gb of ram can 64 bit use?
Is 64bit faster than 32?
Can two different ram speed modules be used together?
Can you have 2 operating systems on one computer?
When is a system in a safe state?
List the possible threads a thread can have?
Can you list the coffman's conditions that lead to a deadlock?
Define max, min heap and search time of heap.
Describe main memory and secondary memory storage in brief.
What is a critical section?
How do I sort files?
What are starvation and aging?
How do I enable macros?
What are the advantage of using threads?
How do I copy a full file path?