Searched refs:s_log_mutex (Results 1 – 1 of 1) sorted by relevance
27 static SemaphoreHandle_t s_log_mutex = NULL; variable31 if (unlikely(!s_log_mutex)) { in esp_log_impl_lock()32 s_log_mutex = xSemaphoreCreateMutex(); in esp_log_impl_lock()37 xSemaphoreTake(s_log_mutex, portMAX_DELAY); in esp_log_impl_lock()42 if (unlikely(!s_log_mutex)) { in esp_log_impl_lock_timeout()43 s_log_mutex = xSemaphoreCreateMutex(); in esp_log_impl_lock_timeout()48 return xSemaphoreTake(s_log_mutex, MAX_MUTEX_WAIT_TICKS) == pdTRUE; in esp_log_impl_lock_timeout()56 xSemaphoreGive(s_log_mutex); in esp_log_impl_unlock()