Searched refs:barrier (Results 1 – 10 of 10) sorted by relevance
29 uv_barrier_t barrier; member63 uv_barrier_destroy(&wc.barrier); in TEST_IMPL()85 uv_barrier_destroy(&wc.barrier); in TEST_IMPL()116 uv_barrier_t* barrier; in serial_worker() local119 barrier = data; in serial_worker()121 uv_barrier_wait(barrier); in serial_worker()123 uv_barrier_destroy(barrier); in serial_worker()133 uv_barrier_t barrier; in TEST_IMPL() local142 uv_barrier_wait(&barrier); in TEST_IMPL()154 uv_barrier_t barrier; in TEST_IMPL() local[all …]
33 static uv_barrier_t barrier; variable37 ASSERT_LE(0, uv_barrier_wait(&barrier)); in thread_main()54 ASSERT_OK(uv_barrier_init(&barrier, 2)); in TEST_IMPL()56 ASSERT_LE(0, uv_barrier_wait(&barrier)); in TEST_IMPL()75 uv_barrier_destroy(&barrier); in TEST_IMPL()
25 uv_barrier_t barrier; member40 uv_barrier_wait(&ctx->barrier); in thread_main()87 ASSERT_OK(uv_barrier_init(&ctx.barrier, 2)); in TEST_IMPL()89 uv_barrier_wait(&ctx.barrier); in TEST_IMPL()127 uv_barrier_destroy(&ctx.barrier); in TEST_IMPL()
45 uv_barrier_t barrier; member
42 b = barrier; in uv_barrier_init()44 if (barrier == NULL || count == 0) in uv_barrier_init()49 if (barrier == NULL || count == 0) in uv_barrier_init()71 barrier->b = b; in uv_barrier_init()89 b = barrier; in uv_barrier_wait()93 if (barrier == NULL || barrier->b == NULL) in uv_barrier_wait()96 b = barrier->b; in uv_barrier_wait()126 b = barrier; in uv_barrier_destroy()129 b = barrier->b; in uv_barrier_destroy()146 uv__free(barrier->b); in uv_barrier_destroy()[all …]
247 if (uv_barrier_wait(&barrier) > 0)248 uv_barrier_destroy(&barrier);250 .. c:function:: int uv_barrier_init(uv_barrier_t* barrier, unsigned int count)251 .. c:function:: void uv_barrier_destroy(uv_barrier_t* barrier)252 .. c:function:: int uv_barrier_wait(uv_barrier_t* barrier)
1852 UV_EXTERN int uv_barrier_init(uv_barrier_t* barrier, unsigned int count);1853 UV_EXTERN void uv_barrier_destroy(uv_barrier_t* barrier);1854 UV_EXTERN int uv_barrier_wait(uv_barrier_t* barrier);
161 test/test-barrier.c \
717 * barrier: wait for prior out before next in (Jameson Nash)2381 * openbsd: switch to libuv's barrier implementation (ptlomholt)2503 * unix: rework thread barrier implementation (Ben Noordhuis)2505 * aix: switch to libuv's own thread barrier impl (Ben Noordhuis)2507 * unix: signal done to last thread barrier waiter (Ben Noordhuis)2974 * win: issue memory barrier in uv_thread_join() (Ben Noordhuis)3679 * unix: always define pthread barrier fallback pad (Saúl Ibarra Corretgé)3798 * unix: fix bug in barrier fallback implementation (Kári Tristan Helgason)5080 * thread: barrier functions (Ben Noordhuis)
535 test/test-barrier.c
Completed in 32 milliseconds