Searched refs:destroy_semaphore (Results 1 – 2 of 2) sorted by relevance
79 static void destroy_semaphore(const char* const name, sem_t* p) in destroy_semaphore() function150 destroy_semaphore(DATA_SEMAPHORE_NAME, b->data); in buffer_destroy()151 destroy_semaphore(FREE_SEMAPHORE_NAME, b->free); in buffer_destroy()
64 static void destroy_semaphore(const char* const name, sem_t* p) in destroy_semaphore() function124 destroy_semaphore(semaphore_name, s_sem); in main()