Lines Matching refs:s_threads_mux
55 static SemaphoreHandle_t s_threads_mux = NULL; variable
74 s_threads_mux = xSemaphoreCreateMutex(); in esp_pthread_init()
75 if (s_threads_mux == NULL) { in esp_pthread_init()
298 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_create()
302 xSemaphoreGive(s_threads_mux); in pthread_create()
324 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_join()
355 xSemaphoreGive(s_threads_mux); in pthread_join()
360 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_join()
365 xSemaphoreGive(s_threads_mux); in pthread_join()
383 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_detach()
403 xSemaphoreGive(s_threads_mux); in pthread_detach()
415 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_exit()
443 xSemaphoreGive(s_threads_mux); in pthread_exit()
472 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_self()
479 xSemaphoreGive(s_threads_mux); in pthread_self()