pthread-semaphore Thread synchronization using Semaphore To Run: gcc -lpthread semaphore.c Output: ./a.out