initial commit
[pfinal.git] / Routix / tareas / fork1 / tarea.c
blob8265a4477d7d0841737666eee87ce646f1b495fb
1 /* tarea.c */
2 #include "stdarg.h"
3 #include "../include/routix.h"
5 char msg[40];
7 void main(void)
9 int i=0;
10 int j=1;
12 for (j=1 ; j<10 ; j++) {
14 for( i=0 ; i<0x1fffff ; i++);
15 exec("rotor1.bin");
16 for( i=0 ; i<0x1fffff ; i++);
17 exec("rotor2.bin");
18 for( i=0 ; i<0x1fffff ; i++);
19 exec("rotor3.bin");
20 for( i=0 ; i<0x1fffff ; i++);
21 exec("rotor4.bin");
23 printf("\nStress info: se han logrado ejecutar %d procesos\n", 4 * j);
26 while(1);