Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1546 → Rev 1547

/demos/trunk/base/aster2.c
34,7 → 34,7
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
* CVS : $Id: aster2.c,v 1.4 2004-04-19 14:48:04 giacomo Exp $
* CVS : $Id: aster2.c,v 1.5 2005-01-08 14:31:38 pj Exp $
 
this is a part of the classic Hartik demo Aster.
 
208,7 → 208,7
p1 = task_create("Aster",aster,&m,NULL);
if (p1 == -1) {
sys_shutdown_message("test7.c(main): Could not create task <aster> ...");
sys_end();
exit(1);
}
 
hard_task_def_mit(m,500000);
216,13 → 216,13
p2 = task_create("Clock",clock,&m,NULL);
if (p2 == -1) {
sys_shutdown_message("test7.c(main): Could not create task <Clock> ...");
sys_end();
exit(1);
}
 
p3 = task_create("JetControl",jetcontrol,&m_nrt,NULL);
if (p2 == -1) {
sys_shutdown_message("test7.c(main): Could not create task <JetControl> ...");
sys_end();
exit(1);
}
 
group_activate(1);
231,7 → 231,7
sys_gettime(&t);
} while (t.tv_sec < END_TEST_TIME);
 
sys_end();
exit(0);
 
return 0;
}