pub fn current_cpu_execution() -> CpuThreadExecutionExpand description
Report what CPU execution the current thread is inside, including a managed Rayon worker running a session or scope callback.
ยงExamples
use tenferro_cpu::{current_cpu_execution, CpuThreadExecution};
assert_eq!(current_cpu_execution(), CpuThreadExecution::Idle);