Binary semaphore example between threads in C

Binary semaphore example between threads in C

Reading Time: 2 minutes Semaphore is a synchronization mechanism. In more words, semaphores are a technique for coordinating or synchronizing activities in which multiple processes compete for the same resources. There are 2 types of semaphores: Binary semaphores & Counting semaphores. But our focus would be on binary […]