Searched refs:semaphore_new (Results 1 – 13 of 13) sorted by relevance
29 semaphore_t *semaphore_new(unsigned int value);
56 ret->enqueue_sem = semaphore_new(capacity); in fixed_queue_new()60 ret->dequeue_sem = semaphore_new(0); in fixed_queue_new()
44 ret->semaphore = semaphore_new(0); in future_new()
41 semaphore_t *semaphore_new(unsigned int value) { in semaphore_new() function
81 start.start_sem = semaphore_new(0); in thread_new_sized()
238 alarm_expired = semaphore_new(0); in lazy_initialize()
151 done = semaphore_new(0);237 reentry_semaphore = semaphore_new(0);
151 done = semaphore_new(0);242 reentry_semaphore = semaphore_new(0);
110 done = semaphore_new(0);
564 done = semaphore_new(0);
76 done = semaphore_new(0); in SetUp()
44 semaphore = semaphore_new(0); in SetUp()
66 semaphore_t *semaphore = semaphore_new(0); in init_stack()