pub fn set_current_affinity(cpumask: AxCpuMask) -> boolAvailable on crate feature
multitask only.Expand description
Set the affinity for the current task.
AxCpuMask is used to specify the CPU affinity.
Returns true if the affinity is set successfully.
TODO: support set the affinity for other tasks.