Home
last modified time | relevance | path

Searched refs:mSemaphore (Results 1 – 2 of 2) sorted by relevance

/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_platform.hpp42 if (mSemaphore) { in Lock()
43 xSemaphoreTake(mSemaphore, portMAX_DELAY); in Lock()
49 if (mSemaphore) { in ~Lock()
50 xSemaphoreGive(mSemaphore); in ~Lock()
56 if (mSemaphore) { in init()
59 mSemaphore = xSemaphoreCreateMutex(); in init()
60 if (!mSemaphore) { in init()
68 if (mSemaphore) { in uninit()
69 vSemaphoreDelete(mSemaphore); in uninit()
71 mSemaphore = nullptr; in uninit()
[all …]
Dnvs_api.cpp61 SemaphoreHandle_t nvs::Lock::mSemaphore = nullptr; member in nvs::Lock