ESP-IDF + 0/3 examples
SourceVu will show references to esp_openthread_task_switching_lock_acquire() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

- True on lock acquired - False on failing to acquire the lock with the timeout.

Notes

In OpenThread API context, it waits for some actions to be done in other tasks (like lwip), after task switching, it needs to call OpenThread API again. Normally it's not allowed, since the previous OpenThread API lock is not released yet. This task_switching lock allows the OpenThread API can be called in this case. Please use esp_openthread_lock_acquire() for normal cases.

References

from examples