Searched refs:once_control (Results 1 – 2 of 2) sorted by relevance
41 int pthread_once(pthread_once_t* once_control, void (*init_routine)(void)) { in pthread_once() argument47 atomic_int* once_control_ptr = reinterpret_cast<atomic_int*>(once_control); in pthread_once()
1349 pthread_once_t once_control = PTHREAD_ONCE_INIT; in TEST() local1350 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); in TEST()1351 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); in TEST()