Searched refs:create_semaphore (Results 1 – 2 of 2) sorted by relevance
60 static sem_t* create_semaphore(const char* const name, const int value) in create_semaphore() function92 b->data = create_semaphore(DATA_SEMAPHORE_NAME, 0); in buffer_init()93 b->free = create_semaphore(FREE_SEMAPHORE_NAME, BUFFER_MAX); in buffer_init()
45 static sem_t* create_semaphore(const char* const name) in create_semaphore() function111 s_sem = create_semaphore(semaphore_name); in main()