Searched refs:once_control (Results 1 – 1 of 1) sorted by relevance
489 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void)) in pthread_once() argument491 if (once_control == NULL || init_routine == NULL || !once_control->is_initialized) { in pthread_once()498 if (esp_ptr_external_ram(once_control)) { in pthread_once()499 uxPortCompareSetExtram((uint32_t *) &once_control->init_executed, 0, &res); in pthread_once()502 uxPortCompareSet((uint32_t *) &once_control->init_executed, 0, &res); in pthread_once()508 ESP_LOGV(TAG, "%s: call init_routine %p", __FUNCTION__, once_control); in pthread_once()