task_get_count

Function task_get_count 

Source
pub unsafe extern "C" fn task_get_count() -> u32
Expand description

Gets the number of tasks the kernel is currently managing, including all ready, blocked, or suspended tasks. A task that has been deleted, but not yet reaped by the idle task will also be included in the count. Tasks recently created may take one context switch to be counted.

\return The number of tasks that are currently being managed by the kernel.