Function esp_idf_sys::esp_event_loop_create
source ยท pub unsafe extern "C" fn esp_event_loop_create(
event_loop_args: *const esp_event_loop_args_t,
event_loop: *mut esp_event_loop_handle_t,
) -> esp_err_t
Expand description
@brief Create a new event loop.
@param[in] event_loop_args configuration structure for the event loop to create @param[out] event_loop handle to the created event loop
@return
- ESP_OK: Success
- ESP_ERR_INVALID_ARG: event_loop_args or event_loop was NULL
- ESP_ERR_NO_MEM: Cannot allocate memory for event loops list
- ESP_FAIL: Failed to create task loop
- Others: Fail