2.4.3.7.1. Unix Semaphore Interface
int semget (key_t key, int nsems, int semflg);
int semop (int semid, struct sembuf *sops, unsigned nsops);
int semtimedop (int  semid, struct sembuf *sops, unsigned nsops, struct timespec *timeout);
key_t ftok (const char *pathname, int proj_id);