[][src]Function mynewt::kernel::os::os_sched_get_current_task

pub unsafe extern "C" fn os_sched_get_current_task() -> *mut os_task

Returns the currently running task. Note that this task may or may not be the highest priority task ready to run.

Return: The currently running task.