Function ksched::task::get_quantum[][src]

pub async fn get_quantum() -> Option<usize>
Expand description

Retrieve the quantum of a time-sharing task.

Return None if this is a real-time task.