Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/pthread/
Dpthread.c499 int pthread_once(pthread_once_t *once_control, void (*init_routine)(void)) in pthread_once() argument
501 if (once_control == NULL || init_routine == NULL || !once_control->is_initialized) { in pthread_once()
508 if (esp_ptr_external_ram(once_control)) { in pthread_once()
509 uxPortCompareSetExtram((uint32_t *) &once_control->init_executed, 0, &res); in pthread_once()
512 uxPortCompareSet((uint32_t *) &once_control->init_executed, 0, &res); in pthread_once()
518 ESP_LOGV(TAG, "%s: call init_routine %p", __FUNCTION__, once_control); in pthread_once()