34,7 → 34,7 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* |
* |
* CVS : $Id: aster5.c,v 1.4 2004-04-19 14:48:04 giacomo Exp $ |
* CVS : $Id: aster5.c,v 1.5 2005-01-08 14:31:38 pj Exp $ |
|
this is a part of the classic Hartik demo Aster. |
|
355,8 → 355,7 |
|
void fine(KEY_EVT *e) |
{ |
sys_end(); |
} |
exit(0);} |
|
int main(int argc, char **argv) |
{ |
417,8 → 416,7 |
p1 = task_create("Aster",aster,&m,NULL); |
if (p1 == -1) { |
sys_shutdown_message("test7.c(main): Could not create task <aster> ..."); |
sys_end(); |
return 0; |
exit(1); |
} |
|
hard_task_def_mit(m,500000); |
426,8 → 424,7 |
p2 = task_create("Clock",clock,&m,NULL); |
if (p2 == -1) { |
sys_shutdown_message("test7.c(main): Could not create task <Clock> ..."); |
sys_end(); |
return 0; |
exit(1); |
} |
|
// p3 = task_create("JetControl",jetcontrol,&m_nrt,NULL); |
434,8 → 431,7 |
p3 = task_create("JetControl",jetcontrol,&m_soft,NULL); |
if (p2 == -1) { |
sys_shutdown_message("test7.c(main): Could not create task <JetControl> ..."); |
sys_end(); |
return 0; |
exit(1); |
} |
/* |
aperiodic_task_default_model(m_aper,APER_WCET); |
448,8 → 444,7 |
aper_table[i] = task_create("aper",aper_asteroid,&m_aper,NULL); |
if (aper_table[i] == -1) { |
perror("test7.c(main): Could not create task <aper> ..."); |
sys_end(); |
l1_exit(-1); |
exit(1); |
} |
} |
*/ |