while (FOREVER) { /* sleep until awakened by clock interrupt */ sleep(clock_tick); task1(); task2(); task3(); task4(); }