annotate taskinit.cbc @ 7:299cc57f332b

prototype of fifo version.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Wed, 06 Jan 2010 11:28:15 +0900
parents 51c3a631a7bc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #include "Task.h"
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 #include "taskinit.h"
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
7
299cc57f332b prototype of fifo version.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
4
6
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 const int max_tasktype = MAX_TASKCLASS;
7
299cc57f332b prototype of fifo version.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
6 extern __code nojob(void *, void *, void *);
6
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 #undef DEFINETASKTYPE
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 #define DEFINETASKTYPE(_var, _code0, _name, _type) \
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 { _code0, _name, _type },
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 const TaskType tasktypes[] = {
7
299cc57f332b prototype of fifo version.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
13 { nojob, "no jobs", F_NONE },
299cc57f332b prototype of fifo version.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
14 { nojob, "no jobs", F_NONE },
6
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 #include "task.def"
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 };
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18
51c3a631a7bc add taskinit.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19