Searched refs:uv_sem_init (Results 1 – 18 of 18) sorted by relevance
/libuv/test/ |
H A D | test-semaphore.c | 56 ASSERT_OK(uv_sem_init(&wc.sem, 0)); in TEST_IMPL() 81 ASSERT_OK(uv_sem_init(&wc.sem, 0)); in TEST_IMPL() 98 ASSERT_OK(uv_sem_init(&sem, 3)); in TEST_IMPL()
|
H A D | test-thread-name.c | 76 ASSERT_OK(uv_sem_init(&sem.main, 0)); in TEST_IMPL() 77 ASSERT_OK(uv_sem_init(&sem.worker, 0)); in TEST_IMPL()
|
H A D | test-condvar.c | 58 ASSERT_OK(uv_sem_init(&wc->sem_waiting, 0)); in worker_config_init() 59 ASSERT_OK(uv_sem_init(&wc->sem_signaled, 0)); in worker_config_init()
|
H A D | test-thread-priority.c | 59 ASSERT_OK(uv_sem_init(&sem, 1)); in TEST_IMPL()
|
H A D | test-process-title-threadsafe.c | 94 ASSERT_OK(uv_sem_init(&getter_sem, 0)); in TEST_IMPL()
|
H A D | test-threadpool-cancel.c | 80 ASSERT_OK(uv_sem_init(pause_sems + i, 0)); in saturate_threadpool() 405 ASSERT_OK(uv_sem_init(&sem_lock, 0)); in TEST_IMPL()
|
H A D | test-tcp-reuseport.c | 184 r = uv_sem_init(&semaphore, 0); in TEST_IMPL()
|
H A D | test-signal-multiple-loops.c | 231 r = uv_sem_init(&sem, 0); in TEST_IMPL()
|
H A D | test-udp-reuseport.c | 221 r = uv_sem_init(&semaphore, 0); in TEST_IMPL()
|
H A D | benchmark-multi-accept.c | 384 ASSERT_OK(uv_sem_init(&ctx->semaphore, 0)); in test_tcp()
|
/libuv/src/unix/ |
H A D | thread.c | 460 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init() function 684 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init() function
|
H A D | fsevents.c | 601 err = uv_sem_init(&loop->cf_sem, 0); in uv__fsevents_loop_init() 607 err = uv_sem_init(&state->fsevent_sem, 0); in uv__fsevents_loop_init()
|
H A D | stream.c | 353 err = uv_sem_init(&s->close_sem, 0); in uv__stream_try_select() 357 err = uv_sem_init(&s->async_sem, 0); in uv__stream_try_select()
|
/libuv/src/ |
H A D | threadpool.c | 227 if (uv_sem_init(&sem, 0)) in init_threads()
|
/libuv/src/win/ |
H A D | thread.c | 436 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init() function
|
H A D | tty.c | 162 if (uv_sem_init(&uv_tty_output_lock, 1)) in uv__console_init()
|
/libuv/docs/src/ |
H A D | threading.rst | 230 .. c:function:: int uv_sem_init(uv_sem_t* sem, unsigned int value)
|
/libuv/include/ |
H A D | uv.h | 1847 UV_EXTERN int uv_sem_init(uv_sem_t* sem, unsigned int value);
|
Completed in 43 milliseconds