void switchToIdleThread(void) { #ifdef CONFIG_BENCHMARK_TRACK_UTILISATION benchmark_utilisation_switch(ksCurThread, ksIdleThread); #endif Arch_switchToIdleThread(); ksCurThread = ksIdleThread; }
void switchToIdleThread(void) { Arch_switchToIdleThread(); ksCurThread = ksIdleThread; }