Posted On: Apr 11, 2020
Semaphore is simply a variable that is non-negative and shared between threads. This variable is used to solve the critical section problem and to achieve process synchronization in the multiprocessing environment.
There are two types of Semaphores they are Binary Semaphore and Counting Semaphore.
Never Miss an Articles from us.