Home
last modified time | relevance | path

Searched refs:g_barrier (Results 1 – 4 of 4) sorted by relevance

/test/xts/acts/kernel_lite/process_posix/src/
DPthreadBasicApiTest.cpp453 static pthread_barrier_t g_barrier; variable
457 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";
/test/xts/dcts/communication/softbus_standard/common/
Dnet_trans_common.c72 static pthread_barrier_t* g_barrier = NULL; variable
1295 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()
/test/xts/acts/communication_lite/lwip_posix/src/
DActsLwipTest.cpp39 static pthread_barrier_t g_barrier; variable
40 #define WAIT() pthread_barrier_wait(&g_barrier)
510 int ret = pthread_barrier_init(&g_barrier, 0, 2);
523 ret = pthread_barrier_destroy(&g_barrier);
/test/xts/acts/kernel_lite/net_posix/src/
DActsNetTest.cpp60 static pthread_barrier_t g_barrier; variable
61 #define WAIT() pthread_barrier_wait(&g_barrier)
696 int ret = pthread_barrier_init(&g_barrier, 0, 2);
709 ret = pthread_barrier_destroy(&g_barrier);