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 Command To Take Backup Other Vg's?

638


How do you pronounce gnu?

559


How do you start up a computer?

549


Is microsoft coming out with a new operating system?

531


Why is my computer so slow?

552






Assuming one link of the Trojan horse copy-and-observe-later chain is broken. There are two other possible angles of attack by Alice: Alice logging on and attempting to read the string directly, and alice assigning a security level of sensitive to the back-pocket file. Does the reference monitor prevent these attacks?

2394


Is chrome os better than windows 10?

526


Why does kernel panic occur?

554


What is the difference between kernel and operating system?

532


Can you just explain about memory management in iOS?

641


How do I combine multiple folders on a mac?

553


What is the first operating system in the world?

563


Is the higher the ghz the better?

530


Can a laptop have both ssd and hdd?

645


Explain about memory management in operating system.

612