Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_barrier_wait.c24 pthread_barrier_t mybarrier; variable
29 int ret = pthread_barrier_wait(&mybarrier); in threadfunc()
45 int ret = pthread_barrier_init(&mybarrier, NULL, THREADNUM + 1); in pthread_barrier_wait_0100()
55 ret = pthread_barrier_wait(&mybarrier); in pthread_barrier_wait_0100()
65 ret = pthread_barrier_destroy(&mybarrier); in pthread_barrier_wait_0100()
78 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_wait_0200()
81 ret = pthread_barrier_wait(&mybarrier); in pthread_barrier_wait_0200()
84 ret = pthread_barrier_destroy(&mybarrier); in pthread_barrier_wait_0200()
Dpthread_barrier_init.c29 pthread_barrier_t mybarrier; in pthread_barrier_init_0100() local
32 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_init_0100()
35 ret = pthread_barrier_destroy(&mybarrier); in pthread_barrier_init_0100()
47 pthread_barrier_t mybarrier; in pthread_barrier_init_0200() local
50 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_init_0200()
53 ret = pthread_barrier_destroy(&mybarrier); in pthread_barrier_init_0200()
Dpthread_barrier_destroy.c29 pthread_barrier_t mybarrier; in pthread_barrier_destroy_0100() local
32 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_destroy_0100()
35 ret = pthread_barrier_destroy(&mybarrier); in pthread_barrier_destroy_0100()