/demos/trunk/newtrace/initfile/initfile.c |
---|
138,7 → 138,7 |
shutdown_task_PID = task_create("Shutdown Task",shutdown_task_body,&nrt,NULL); |
if (shutdown_task_PID == NIL) { |
sys_shutdown_message("Error: Cannot create shutdown task\n"); |
exit(1); |
sys_end(); |
} |
} |
172,7 → 172,7 |
MOUSE26_close(); |
KEYB26_close(); |
INPUT26_close(); |
exit(1); |
sys_end(); |
} |
FB26_use_grx(FRAME_BUFFER_DEVICE); |
223,5 → 223,7 |
sys_shutdown_message("-- S.Ha.R.K. Closed --\n"); |
sys_abort_shutdown(0); |
return NULL; |
} |
/demos/trunk/newtrace/instr/instr.c |
---|
76,7 → 76,7 |
p = task_create("Instr",ext_call,&m,NULL); |
if (p == -1) { |
sys_shutdown_message("Could not create task <instr> ..."); |
exit(1); |
sys_end(); |
} |
num++; |
/demos/trunk/newtrace/instr/initfile.c |
---|
98,6 → 98,7 |
device_drivers_close(); |
sys_shutdown_message("-- S.Ha.R.K. Closed --\n"); |
sys_abort_shutdown(0); |
return NULL; |
} |
114,7 → 115,7 |
shutdown_task_PID = task_create("Shutdown Task", shutdown_task_body, &nrt, NULL); |
if (shutdown_task_PID == NIL) { |
sys_shutdown_message("Error: Cannot create shutdown task\n"); |
exit(1); |
sys_end(); |
} |
} |
/demos/trunk/newtrace/udp/initfile.c |
---|
108,6 → 108,8 |
device_drivers_close(); |
sys_shutdown_message("-- S.Ha.R.K. Closed --\n"); |
sys_abort_shutdown(0); |
return NULL; |
} |
123,7 → 125,7 |
shutdown_task_PID = task_create("Shutdown Task", shutdown_task_body, &nrt, NULL); |
if (shutdown_task_PID == NIL) { |
sys_shutdown_message("Error: Cannot create shutdown task\n"); |
exit(1); |
sys_end(); |
} |
} |