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 much ram can a 64 bit system use?
List the issues related to the handheld system.
How does the cpu and the ram communicate?
What are the types of files?
Define scheduling in OS.
Tell me what has triggered the need for multitasking in pcs?
Is it possible to have a deadlock involving only one process?
Explain booting the system and bootstrap program in operating system.
What is 32 bit operating system?
What is a 32 bit integer?
How do you tell if your computer is 32 or 64 bit?
How many os can be installed in a pc?
Can a 64 bit computer run 32 bit programs?
What is LiveLock?
What is a sector?