#include #define POSIX_LOCKED 0 #define POSIX_UNLOCKED 1 sem_t *posix_sem; posix_sem = sem_open("/EinName", O_CREAT, 0644, POSIX_UNLOCKED); ...