kernel/sys/process.c
/**
 * @brief The idle task.
 *
 * Sits in a loop forever. Scheduled whenever there is nothing
 * else to do. Actually always enters from the top of the function
 * whenever scheduled, as we don't both to save its state.
 */
@brief The idle task.
Sits in a loop forever. Scheduled whenever there is nothing
else to do. Actually always enters from the top of the function
whenever scheduled, as we don't both to save its state.
@brief The idle task . Sits in a loop forever . Scheduled whenever there is nothing else to do . Actually always enters from the top of the function whenever scheduled as we don ' t both to save its state .
static void _kidle(void) {
	while (1) {
		arch_pause();
	}
}
static void _kidle ( void ) { while ( 1 ) { arch_pause ( ) ; } }
@brief The idle task.
@brief The idle task .