What is a semaphore?

Answer Posted / kwrtos

Semaphore is a machanism to resolve resources conflicts by
tallying resource seekers what is the state of sought
resources, achieving a mutual exclusive access to resources.
Often semaphore operates as a type of mutual exclusive
counters (such as mutexes) where it holds a number of access
keys to the resources. Process that seeks the resources must
obtain one of those access keys, one of semaphores, before
it proceeds further to utilize the resource. If there is no
more such a key available to the process, it has to wait for
the current resource user to release the key.

Is This Answer Correct ?    66 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Cycle Stealing in OS?

592


Explain about memory management in operating system.

604


What is difference between post and patch?

575


How do I free up disk space?

525


What are compile time Errors?

607






Why is android better than ios?

544


What Command To Restore Backup Of Non - Rootvg?

625


Where do I find disk cleanup?

532


How do you say gnu?

518


Assuming feedback to the adversary flugging an error as each incorrect character is entered, what is the expected time to discover the correct password?

2857


Which processor is better amd or intel?

567


Is system restore bad for your computer?

528


How do I boot up my computer?

507


Where can I get a free operating system?

545


What is the shortcut key to refresh laptop?

496