Home
last modified time | relevance | path

Searched refs:once_control (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/bionic/
Dpthread_once.cpp41 int pthread_once(pthread_once_t* once_control, void (*init_routine)(void)) { in pthread_once() argument
47 atomic_int* once_control_ptr = reinterpret_cast<atomic_int*>(once_control); in pthread_once()
/bionic/tests/
Dpthread_test.cpp1350 pthread_once_t once_control = PTHREAD_ONCE_INIT; in TEST() local
1351 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); in TEST()
1352 ASSERT_EQ(0, pthread_once(&once_control, OnceFn)); in TEST()