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)

posted @ 2019-01-16 14:43  MoonXu  阅读(382)  评论(0编辑  收藏  举报