Home
last modified time | relevance | path

Searched refs:wc (Results 1 – 3 of 3) sorted by relevance

/libuv/test/
H A Dtest-condvar.c50 memset(wc, 0, sizeof(*wc)); in worker_config_init()
128 worker_config wc; in TEST_IMPL() local
136 ASSERT_OK(wc.wait_cond(&wc, &wc.posted_1)); in TEST_IMPL()
137 wc.signal_cond(&wc, &wc.posted_2); in TEST_IMPL()
147 worker_config wc; in TEST_IMPL() local
155 ASSERT_OK(wc.wait_cond(&wc, &wc.posted_1)); in TEST_IMPL()
156 wc.signal_cond(&wc, &wc.posted_2); in TEST_IMPL()
200 wc.wait_cond(&wc, &wc.posted_1); in TEST_IMPL()
201 wc.signal_cond(&wc, &wc.posted_2); in TEST_IMPL()
219 wc.wait_cond(&wc, &wc.posted_1); in TEST_IMPL()
[all …]
H A Dtest-barrier.c53 memset(&wc, 0, sizeof(wc)); in TEST_IMPL()
54 wc.niter = 1; in TEST_IMPL()
60 wc.main_barrier_wait_rval = uv_barrier_wait(&wc.barrier); in TEST_IMPL()
75 memset(&wc, 0, sizeof(wc)); in TEST_IMPL()
76 wc.delay = 100; in TEST_IMPL()
77 wc.niter = 1; in TEST_IMPL()
82 wc.main_barrier_wait_rval = uv_barrier_wait(&wc.barrier); in TEST_IMPL()
98 memset(&wc, 0, sizeof(wc)); in TEST_IMPL()
99 wc.niter = 5; in TEST_IMPL()
105 wc.main_barrier_wait_rval += uv_barrier_wait(&wc.barrier); in TEST_IMPL()
[all …]
H A Dtest-semaphore.c52 worker_config wc; in TEST_IMPL() local
54 memset(&wc, 0, sizeof(wc)); in TEST_IMPL()
61 uv_mutex_lock(&wc.mutex); in TEST_IMPL()
62 ASSERT_EQ(1, wc.posted); in TEST_IMPL()
67 uv_mutex_destroy(&wc.mutex); in TEST_IMPL()
68 uv_sem_destroy(&wc.sem); in TEST_IMPL()
76 worker_config wc; in TEST_IMPL() local
78 memset(&wc, 0, sizeof(wc)); in TEST_IMPL()
79 wc.delay = 100; in TEST_IMPL()
85 uv_sem_wait(&wc.sem); in TEST_IMPL()
[all …]

Completed in 9 milliseconds