switched to preemptive multitasking