pub unsafe extern "C" fn task_create(
    task_func: *mut crate::binary::c_types::c_void,
    name: *const crate::binary::c_types::c_char,
    stack_depth: u32,
    param: *mut crate::binary::c_types::c_void,
    prio: u32,
    task_handle: *mut crate::binary::c_types::c_void,
) -> i32 {
    unsafe { task_create_pinned_to_core(task_func, name, stack_depth, param, prio, task_handle, 0) }
}
**************************************************************************
Name: esp_task_create

Description:
Create task and the task will run when it is created

Input Parameters:
entry       - Task entry
name        - Task name
stack_depth - Task stack size
param       - Task private data
prio        - Task priority
task_handle - Task handle pointer which is used to pause, resume
and delete the task

Returned Value:
True if success or false if fail

*************************************************************************
esp-wifi/src/wifi/os_adapter.rs