Index: task.c =================================================================== --- task.c (Revision 618) +++ task.c (Arbeitskopie) @@ -399,10 +399,8 @@ } destroy_task(current_task); - current_task = first_task; - - while(1) { - asm("sti; hlt"); - } + + current_task = NULL; + asm("int $0x20"); }