2019_01_16 sem_init

sem_init()

#include <semaphore.h>

int sem_init(sem_t *sem, int pshared, unsigned int value);

SEE ALSO
sem_destroy(3), sem_post(3), sem_wait(3), sem_overview(7)

原文地址:https://www.cnblogs.com/xpylovely/p/10276911.html