pub unsafe extern "C" fn esp_openthread_lock_acquire(
block_ticks: TickType_t,
) -> bool
Expand description
@brief This function acquires the OpenThread API lock.
@note Every Openthread APIs that takes an otInstance argument MUST be protected with this API lock except that the call site is in Openthread callbacks.
@param[in] block_ticks The maximum number of RTOS ticks to wait for the lock.
@return - True on lock acquired - False on failing to acquire the lock with the timeout.