Lines Matching refs:mSemaphore
46 if (mSemaphore) { in Lock()
47 xSemaphoreTake(mSemaphore, portMAX_DELAY); in Lock()
53 if (mSemaphore) { in ~Lock()
54 xSemaphoreGive(mSemaphore); in ~Lock()
60 if (mSemaphore) { in init()
63 mSemaphore = xSemaphoreCreateMutex(); in init()
64 if (!mSemaphore) { in init()
72 if (mSemaphore) { in uninit()
73 vSemaphoreDelete(mSemaphore); in uninit()
75 mSemaphore = nullptr; in uninit()
78 static SemaphoreHandle_t mSemaphore; member in nvs::Lock