cómo compilar Semaphore.h en terminal

gcc main.c -o main -lpthread -lrt
Adventurous Alligator