Process "kill" is properly implemented.

This commit is contained in:
matsutsuka 2007-09-11 12:55:57 +00:00
parent 661476ad92
commit 71e5298d90
1 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,7 @@
* *
* Author: Oliver Schmidt <ol.sc@web.de> * Author: Oliver Schmidt <ol.sc@web.de>
* *
* $Id: mt-test.c,v 1.1 2007/09/11 12:12:59 matsutsuka Exp $ * $Id: mt-test.c,v 1.2 2007/09/11 12:55:57 matsutsuka Exp $
*/ */
/** /**
@ -129,6 +129,10 @@ PROCESS_THREAD(mt_process, ev, data)
toggle++; toggle++;
} }
etimer_set(&timer, CLOCK_SECOND / 2); etimer_set(&timer, CLOCK_SECOND / 2);
} else if(ev == ctk_signal_window_close || ev == PROCESS_EVENT_EXIT) {
ctk_window_close(&window);
process_exit(&mt_process);
LOADER_UNLOAD();
} }
} }