Searched refs:sem_id (Results 1 - 1 of 1) sorted by relevance

/httpd/test/
H A Dtime-sem.c200 static int sem_id = -1; variable
222 sem_id = semget(999, 1, IPC_CREAT | 0666);
223 if (sem_id < 0) {
228 if (semctl(sem_id, 0, SETVAL, ick) < 0) {
255 if (semop(sem_id, &op, 1) < 0) {
272 if (semop(sem_id, &op, 1) < 0) {

Completed in 551 milliseconds