A nonpreemptive multitasking system which is very similar to the `` simple control loop '' design , except that the loop is hidden in an API . A nonpreemptive multitasking system is very similar to the simple control loop scheme , except that the loop is hidden in an API .