Semaphore

POSIX Semaphore

Semaphore란 무엇인가?


POSIX Semaphore

초기화

#include <semaphore.h>
sem_t s;
sem_init(&s, 0, 1)

sem_wait