esp_idf_sys

Function esp_openthread_task_switching_lock_release

Source
pub unsafe extern "C" fn esp_openthread_task_switching_lock_release()
Expand description

@brief This function releases the OpenThread API task switching lock.

@note This API must be called after esp_openthread_task_switching_lock_acquire or esp_openthread_lock_acquire and will cause a crash if the current task is not the task switching lock holder. This error could be caused by calling OpenThread APIs without locking OpenThread stack.