/external/valgrind/main/none/tests/ |
sem.c | 12 int semid; local 18 if ((semid = semget(IPC_PRIVATE, 1, 0600)) < 0) 28 if (semop(semid, &sop, 1) < 0) 31 semctl(semid, 0, IPC_RMID); 46 if (semtimedop(semid, &sop, 1, &ts) < 0 && errno != EAGAIN) 49 semctl(semid, 0, IPC_RMID); 58 if (semop(semid, &sop, 1) < 0) 61 semctl(semid, 0, IPC_RMID); 73 if (semtimedop(semid, &sop, 1, &ts) < 0) 76 semctl(semid, 0, IPC_RMID) [all...] |
/external/kernel-headers/original/linux/ |
sem.h | 124 int semid; /* semaphore set identifier */ member in struct:sem_undo
|