Subversion Repositories shark

Compare Revisions

Regard whitespace Rev 1377 → Rev 1123

/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.4 2004-04-17 11:36:12 giacomo Exp $
* CVS : $Id: aster3.c,v 1.3 2003-01-07 17:10:15 pj Exp $
 
Test Number 10 (A):
 
52,7 → 52,7
*/
 
#include "kernel/kern.h"
#include "modules/edf.h"
#include "modules//edf.h"
 
int num_aster = 0;
#define ASTER_LIM 60
250,7 → 250,7
p1 = task_create("Aster",aster,&m,NULL);
if (p1 == -1) {
sys_shutdown_message("test7.c(main): Could not create task <aster> ...");
perror("test7.c(main): Could not create task <aster> ...");
sys_end();
}
 
258,7 → 258,7
hard_task_def_wcet(m,CLOCK_WCET);
p2 = task_create("Clock",clock,&m,NULL);
if (p2 == -1) {
sys_shutdown_message("test7.c(main): Could not create task <Clock> ...");
perror("test7.c(main): Could not create task <Clock> ...");
sys_end();
}
 
270,7 → 270,7
soft_task_def_level(m_aper, 2);
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> ...");
perror("test7.c(main): Could not create task <JetControl> ...");
sys_end();
}
 
279,7 → 279,7
soft_task_def_arg(m_aper, (void *)(i/4 ? 'Û' : '±'));
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> ...");
perror("test7.c(main): Could not create task <aper> ...");
sys_end();
}
}