192
|
1 #include <stdio.h>
|
|
2 #include "Renew1.h"
|
|
3 #include "SpeProfile.h"
|
|
4 #include "Func.h"
|
|
5
|
298
|
6 /* これは必須 */
|
192
|
7 SchedDefineTask(Renew1);
|
|
8
|
|
9 int
|
|
10 Renew1::run(void *rbuf, void *wbuf)
|
|
11 {
|
310
|
12 SpeProfile *profile = (SpeProfile*)global_get(0);
|
192
|
13 profile->ProfStop();
|
|
14 profile->ProfPrint();
|
|
15
|
|
16 printf("[SPE] ** running Renew1\n");
|
|
17
|
|
18 printf("[SPE] Create Task : Renew2\n");
|
310
|
19 TaskPtr nextTask = create_task(RENEW2);
|
|
20 wait_task(nextTask);
|
192
|
21
|
|
22 printf("[SPE] ** finish Renew1\n\n");
|
|
23
|
|
24 return 0;
|
|
25 }
|