Lines Matching refs:barrier
2661 pthread_barrier_t barrier; member
2680 int result = pthread_barrier_wait(&arg->data->barrier); in BarrierTestHelper()
2701 ASSERT_EQ(0, pthread_barrier_init(&data.barrier, nullptr, data.thread_count)); in TEST()
2714 ASSERT_EQ(0, pthread_barrier_destroy(&data.barrier)); in TEST()
2719 pthread_barrier_t* barrier; member
2724 ASSERT_EQ(0, pthread_barrier_wait(arg->barrier)); in BarrierDestroyTestHelper()
2728 pthread_barrier_t barrier; in TEST() local
2729 ASSERT_EQ(0, pthread_barrier_init(&barrier, nullptr, 2)); in TEST()
2733 arg.barrier = &barrier; in TEST()
2737 ASSERT_EQ(EBUSY, pthread_barrier_destroy(&barrier)); in TEST()
2738 ASSERT_EQ(PTHREAD_BARRIER_SERIAL_THREAD, pthread_barrier_wait(&barrier)); in TEST()
2740 ASSERT_EQ(0, pthread_barrier_destroy(&barrier)); in TEST()
2743 ASSERT_EQ(EINVAL, pthread_barrier_destroy(&barrier)); in TEST()
2748 pthread_barrier_t* barrier; member
2758 int result = pthread_barrier_wait(arg->barrier); in BarrierOrderingTestHelper()
2763 result = pthread_barrier_wait(arg->barrier); in BarrierOrderingTestHelper()
2770 pthread_barrier_t barrier; in TEST() local
2771 ASSERT_EQ(0, pthread_barrier_init(&barrier, nullptr, THREAD_COUNT)); in TEST()
2776 args[i].barrier = &barrier; in TEST()
2790 pthread_barrier_t barrier; in TEST() local
2791 ASSERT_EQ(EINVAL, pthread_barrier_init(&barrier, nullptr, 0)); in TEST()