34,7 → 34,7 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* |
* |
* CVS : $Id: aster6.c,v 1.6 2005-01-08 14:31:38 pj Exp $ |
* CVS : $Id: aster6.c,v 1.5 2004-04-21 14:55:05 giacomo Exp $ |
|
this is a part of the classic Hartik demo Aster. |
|
338,7 → 338,7 |
void fine(KEY_EVT *e) |
{ |
|
exit(0); |
sys_end(); |
|
} |
|
400,7 → 400,8 |
p1 = task_create("Aster",aster,&m,NULL); |
if (p1 == -1) { |
sys_shutdown_message("test7.c(main): Could not create task <aster> ..."); |
exit(1); |
sys_end(); |
return 0; |
} |
|
hard_task_def_mit(m,500000); |
408,7 → 409,8 |
p2 = task_create("Clock",clock,&m,NULL); |
if (p2 == -1) { |
sys_shutdown_message("test7.c(main): Could not create task <Clock> ..."); |
exit(1); |
sys_end(); |
return 0; |
} |
|
// p3 = task_create("JetControl",jetcontrol,&m_nrt,NULL); |
415,7 → 417,8 |
p3 = task_create("JetControl",jetcontrol,&m_aper,NULL); |
if (p3 == -1) { |
sys_shutdown_message("test7.c(main): Could not create task <JetControl> ..."); |
exit(1); |
sys_end(); |
return 0; |
} |
|
task_nopreempt(); |