What Is Semaphore #743
What is Semaphore?
This multiple choice question (MCQ) is related to the book/course
gs gs108 CSharp.
It can also be found in
gs gs108 Reflections, Multithreaded Programming, Collection Classes and Mathematical Functions - Multi-threaded Programming – 2 - Q.
What is Semaphore?
Grant more than one thread access to a shared resource at the same time
Useful when a collection of resources is being synchronized
Make use of a counter to control access to a shared resource
All of the mentioned