Searched refs:semid (Results 1 - 3 of 3) sorted by relevance
/sendmail/libsm/ |
H A D | sem.c | 42 int semid, i, err; local 50 semid = semget(key, nsem, semflg); 51 if (semid < 0) 66 if (semctl(semid, 0, SETALL, semarg) < 0) 69 return semid; 75 if (semid >= 0) 76 sm_sem_stop(semid); 84 ** semid -- id for semaphores. 92 sm_sem_stop(semid) 93 int semid; [all...] |
H A D | t-sem.c | 60 int semid; local 63 semid = sm_sem_start(T_SM_SEM_KEY, SM_NSEM, 0, owner); 64 if (semid < 0) 76 if (sm_sem_acq(semid, 0, 2) < 0) 86 if (sm_sem_rel(semid, 0, 2) < 0) 95 if ((t = sm_sem_get(semid, 0)) < 0) 106 return sm_sem_stop(semid); 163 int semid, r; local 175 semid = sm_sem_start(T_SM_SEM_KEY, 1, 0, owner); 176 if (semid < [all...] |
/sendmail/include/sm/ |
H A D | sem.h | 54 # define sm_sem_stop(semid) 0 55 # define sm_sem_acq(semid, semnum, timeout) 0 56 # define sm_sem_rel(semid, semnum, timeout) 0 57 # define sm_sem_get(semid, semnum) 0
|
Completed in 110 milliseconds