Searched refs:uv_sem_init (Results 1 – 19 of 19) sorted by relevance
/third_party/libuv/test/ |
D | test-semaphore.c | 56 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()
|
D | test-condvar.c | 58 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()
|
D | test-process-title-threadsafe.c | 94 ASSERT_EQ(0, uv_sem_init(&getter_sem, 0)); in TEST_IMPL()
|
D | test-embed.c | 126 uv_sem_init(&embed_sem, 0); in TEST_IMPL()
|
D | test-signal-multiple-loops.c | 215 r = uv_sem_init(&sem, 0); in TEST_IMPL()
|
D | test-threadpool-cancel.c | 76 ASSERT(0 == uv_sem_init(pause_sems + i, 0)); in saturate_threadpool()
|
D | benchmark-multi-accept.c | 384 ASSERT(0 == uv_sem_init(&ctx->semaphore, 0)); in test_tcp()
|
/third_party/libuv/src/win/ |
D | thread.c | 309 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()
|
D | tty.c | 167 if (uv_sem_init(&uv_tty_output_lock, 1)) in uv__console_init()
|
/third_party/libuv/src/unix/ |
D | thread.c | 446 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
|
D | fsevents.c | 616 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()
|
D | stream.c | 342 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/ |
D | threadpool.c | 226 if (uv_sem_init(&sem, 0)) in init_threads()
|
/third_party/node/src/ |
D | node_watchdog.cc | 398 CHECK_EQ(0, uv_sem_init(&sem_, 0)); in SigintWatchdogHelper()
|
D | node_platform.cc | 60 uv_sem_init(&ready_, 0); in Start()
|
D | inspector_agent.cc | 97 CHECK_EQ(0, uv_sem_init(&start_io_thread_semaphore, 0)); in StartDebugSignalHandler()
|
/third_party/libuv/docs/src/ |
D | threading.rst | 150 .. c:function:: int uv_sem_init(uv_sem_t* sem, unsigned int value)
|
/third_party/libuv/include/uv_ndk/ |
D | uv.h | 1716 UV_EXTERN int uv_sem_init(uv_sem_t* sem, unsigned int value);
|
/third_party/libuv/include/ |
D | uv.h | 1740 UV_EXTERN int uv_sem_init(uv_sem_t* sem, unsigned int value);
|