Searched refs:g_barrier (Results 1 – 4 of 4) sorted by relevance
453 static pthread_barrier_t g_barrier; variable457 int reInt = pthread_barrier_wait(&g_barrier); in ThreadTestBarrierWait1()472 int reInt = pthread_barrier_wait(&g_barrier); in ThreadTestBarrierWait2()496 EXPECT_EQ(pthread_barrier_init(&g_barrier, nullptr, 3), 0) << "> return errno";499 int reInt = pthread_barrier_wait(&g_barrier);511 EXPECT_EQ(pthread_barrier_destroy(&g_barrier), 0) << "> return errno";
72 static pthread_barrier_t* g_barrier = NULL; variable1295 if (g_barrier == NULL) { in TestSetUp()1296 g_barrier = (pthread_barrier_t*)calloc(1, sizeof(pthread_barrier_t)); in TestSetUp()1368 if (g_barrier != NULL) { in TestTearDown()1369 free(g_barrier); in TestTearDown()1370 g_barrier = NULL; in TestTearDown()
39 static pthread_barrier_t g_barrier; variable40 #define WAIT() pthread_barrier_wait(&g_barrier)510 int ret = pthread_barrier_init(&g_barrier, 0, 2);523 ret = pthread_barrier_destroy(&g_barrier);
60 static pthread_barrier_t g_barrier; variable61 #define WAIT() pthread_barrier_wait(&g_barrier)696 int ret = pthread_barrier_init(&g_barrier, 0, 2);709 ret = pthread_barrier_destroy(&g_barrier);