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

/freebsd-current/usr.sbin/pppctl/
H A Dpppctl.c71 static sem_t sem_select; /* select() co-ordination between threads */ variable
231 sem_post(&sem_select);
255 sem_post(&sem_select);
315 * sem_select() is used by the Terminal thread to keep us from sending
330 sem_wait(&sem_select);
334 sem_wait(&sem_select);
615 * sem_select semaphore is used to prevent the monitor
621 sem_init(&sem_select, 0, 0);
630 /* Get rid of the monitor thread by abusing sem_select */
634 sem_post(&sem_select);
[all...]

Completed in 59 milliseconds