Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1547 → Rev 1546

/demos/trunk/base/aster3.c
34,7 → 34,7
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
* CVS : $Id: aster3.c,v 1.6 2005-01-08 14:31:38 pj Exp $
* CVS : $Id: aster3.c,v 1.5 2004-04-19 14:48:04 giacomo Exp $
 
Test Number 10 (A):
 
251,7 → 251,7
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();
}
 
hard_task_def_mit(m,500000);
259,7 → 259,7
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();
}
 
soft_task_default_model(m_aper);
271,7 → 271,7
aper_table[0] = task_create("JetControl",jetcontrol,&m_aper,NULL);
if (aper_table[0] == -1) {
sys_shutdown_message("test7.c(main): Could not create task <JetControl> ...");
exit(1);
sys_end();
}
 
for (i=1; i<APER_MAX; i++) {
280,7 → 280,7
aper_table[i] = task_create("aper",aper_asteroid,&m_aper,NULL);
if (aper_table[i] == -1) {
sys_shutdown_message("test7.c(main): Could not create task <aper> ...");
exit(1);
sys_end();
}
}
 
294,7 → 294,7
} while (t.tv_sec < 60);
}
 
exit(0);
sys_end();
return 0;
}