Searched refs:onceControl (Results 1 – 1 of 1) sorted by relevance
34 pthread_once_t* onceControl = (pthread_once_t*)data; in init_function_canceled() local37 int32 value = atomic_get_and_set((int32*)&onceControl->state, in init_function_canceled()50 pthread_once(pthread_once_t* onceControl, void (*initRoutine)(void)) in pthread_once() argument66 int32 value = atomic_test_and_set((int32*)&onceControl->state, in pthread_once()74 pthread_cleanup_push(&init_function_canceled, onceControl); in pthread_once()78 value = atomic_get_and_set((int32*)&onceControl->state, in pthread_once()94 value = atomic_test_and_set((int32*)&onceControl->state, in pthread_once()104 value = atomic_test_and_set((int32*)&onceControl->state, in pthread_once()118 while (atomic_get((int32*)&onceControl->state) == STATE_SPINNING); in pthread_once()