FreeBSD/sys/kern/sched_4bsd.c
/*
 * Main loop for a kthread that executes schedcpu once a second.
 */
Main loop for a kthread that executes schedcpu once a second.
Main loop for a kthread that executes schedcpu once a second .
static void
schedcpu_thread(void)
{
	for (;;) {
		schedcpu();
		pause("-", hz);
	}
}
static void schedcpu_thread ( void ) { for ( ; ; ) { schedcpu ( ) ; pause ( " " , hz ) ; } }
Main loop for a kthread that executes schedcpu once a second.
Main loop for a kthread that executes schedcpu once a second .