annotate example/Null/ppe/NullTask.cc @ 1712:c8c45e5b4a1c draft

add
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 08 Oct 2013 18:04:49 +0900
parents e38a4f3e238d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1285
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #include <stdio.h>
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 #include <math.h>
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 #include "SchedTask.h"
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 #include "NullTask.h"
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 #include "Func.h"
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 SchedDefineTask1(NullTask, nullTask);
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 static int
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 nullTask(SchedTask *smanager, void *rbuf, void *wbuf)
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 {
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 return 0;
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 }