Home
last modified time | relevance | path

Searched refs:uv_sem_init (Results 1 – 18 of 18) sorted by relevance

/libuv/test/
H A Dtest-semaphore.c56 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 Dtest-thread-name.c76 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 Dtest-condvar.c58 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 Dtest-thread-priority.c59 ASSERT_OK(uv_sem_init(&sem, 1)); in TEST_IMPL()
H A Dtest-process-title-threadsafe.c94 ASSERT_OK(uv_sem_init(&getter_sem, 0)); in TEST_IMPL()
H A Dtest-threadpool-cancel.c80 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 Dtest-tcp-reuseport.c184 r = uv_sem_init(&semaphore, 0); in TEST_IMPL()
H A Dtest-signal-multiple-loops.c231 r = uv_sem_init(&sem, 0); in TEST_IMPL()
H A Dtest-udp-reuseport.c221 r = uv_sem_init(&semaphore, 0); in TEST_IMPL()
H A Dbenchmark-multi-accept.c384 ASSERT_OK(uv_sem_init(&ctx->semaphore, 0)); in test_tcp()
/libuv/src/unix/
H A Dthread.c460 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 Dfsevents.c601 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 Dstream.c353 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 Dthreadpool.c227 if (uv_sem_init(&sem, 0)) in init_threads()
/libuv/src/win/
H A Dthread.c436 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init() function
H A Dtty.c162 if (uv_sem_init(&uv_tty_output_lock, 1)) in uv__console_init()
/libuv/docs/src/
H A Dthreading.rst230 .. c:function:: int uv_sem_init(uv_sem_t* sem, unsigned int value)
/libuv/include/
H A Duv.h1847 UV_EXTERN int uv_sem_init(uv_sem_t* sem, unsigned int value);

Completed in 39 milliseconds