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
Does uninstalling a program delete it?
Which is first operating system?
What are the differences between Real Time Operating System (RTOS) and General Purpose Operating Systems (GPOS)?
Explain the meaning of kernal.
Explain about local and global page replacements?
Are 64bit applications faster?
Where are chkdsk logs stored?
What is a bootloader?
Explain the concept of the multi-programmed operating systems?
What is a phase change memory?
What is critical section problem?
How will you check if your R3 system is 32bit or 64bit?
Give some benefits of multithreaded programming.
Can ram cause blue screen?
What is the most used operating system in the world?