Lines Matching refs:s_threads_mux
69 static SemaphoreHandle_t s_threads_mux = NULL; variable
88 s_threads_mux = xSemaphoreCreateMutex(); in esp_pthread_init()
89 if (s_threads_mux == NULL) { in esp_pthread_init()
312 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_create()
316 xSemaphoreGive(s_threads_mux); in pthread_create()
338 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_join()
369 xSemaphoreGive(s_threads_mux); in pthread_join()
374 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_join()
379 xSemaphoreGive(s_threads_mux); in pthread_join()
397 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_detach()
417 xSemaphoreGive(s_threads_mux); in pthread_detach()
429 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_exit()
454 xSemaphoreGive(s_threads_mux); in pthread_exit()
482 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_self()
489 xSemaphoreGive(s_threads_mux); in pthread_self()