Searched refs:s_wps_api_lock (Results 1 – 1 of 1) sorted by relevance
27 if (!s_wps_api_lock) {\28 s_wps_api_lock = xSemaphoreCreateRecursiveMutex();\29 if (!s_wps_api_lock) {\34 xSemaphoreTakeRecursive(s_wps_api_lock, portMAX_DELAY);\37 #define API_MUTEX_GIVE() xSemaphoreGiveRecursive(s_wps_api_lock)58 static void *s_wps_api_lock = NULL; /* Used in WPS public API only, never be freed */ variable