Home
last modified time | relevance | path

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

/third_party/libuv/test/
Dtest-semaphore.c56 ASSERT(0 == uv_sem_init(&wc.sem, 0)); in TEST_IMPL()
81 ASSERT(0 == uv_sem_init(&wc.sem, 0)); in TEST_IMPL()
98 ASSERT(0 == uv_sem_init(&sem, 3)); in TEST_IMPL()
Dtest-condvar.c58 ASSERT(0 == uv_sem_init(&wc->sem_waiting, 0)); in worker_config_init()
59 ASSERT(0 == uv_sem_init(&wc->sem_signaled, 0)); in worker_config_init()
Dtest-process-title-threadsafe.c94 ASSERT_EQ(0, uv_sem_init(&getter_sem, 0)); in TEST_IMPL()
Dtest-embed.c126 uv_sem_init(&embed_sem, 0); in TEST_IMPL()
Dtest-signal-multiple-loops.c215 r = uv_sem_init(&sem, 0); in TEST_IMPL()
Dtest-threadpool-cancel.c76 ASSERT(0 == uv_sem_init(pause_sems + i, 0)); in saturate_threadpool()
Dbenchmark-multi-accept.c384 ASSERT(0 == uv_sem_init(&ctx->semaphore, 0)); in test_tcp()
/third_party/libuv/src/win/
Dthread.c309 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init() function
396 err = uv_sem_init(&barrier->turnstile1, 0); in uv_barrier_init()
400 err = uv_sem_init(&barrier->turnstile2, 1); in uv_barrier_init()
Dtty.c167 if (uv_sem_init(&uv_tty_output_lock, 1)) in uv__console_init()
/third_party/libuv/src/unix/
Dthread.c446 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init() function
670 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init() function
Dfsevents.c616 err = uv_sem_init(&loop->cf_sem, 0); in uv__fsevents_loop_init()
622 err = uv_sem_init(&state->fsevent_sem, 0); in uv__fsevents_loop_init()
Dstream.c342 err = uv_sem_init(&s->close_sem, 0); in uv__stream_try_select()
346 err = uv_sem_init(&s->async_sem, 0); in uv__stream_try_select()
/third_party/libuv/src/
Dthreadpool.c226 if (uv_sem_init(&sem, 0)) in init_threads()
/third_party/node/src/
Dnode_watchdog.cc398 CHECK_EQ(0, uv_sem_init(&sem_, 0)); in SigintWatchdogHelper()
Dnode_platform.cc60 uv_sem_init(&ready_, 0); in Start()
Dinspector_agent.cc97 CHECK_EQ(0, uv_sem_init(&start_io_thread_semaphore, 0)); in StartDebugSignalHandler()
/third_party/libuv/docs/src/
Dthreading.rst150 .. c:function:: int uv_sem_init(uv_sem_t* sem, unsigned int value)
/third_party/libuv/include/uv_ndk/
Duv.h1716 UV_EXTERN int uv_sem_init(uv_sem_t* sem, unsigned int value);
/third_party/libuv/include/
Duv.h1740 UV_EXTERN int uv_sem_init(uv_sem_t* sem, unsigned int value);