Mercurial > hg > Game > Cerium
comparison TaskManager/kernel/schedule/SchedTask.cc @ 1466:cb57420a8219 draft
TaskList on going...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 15 Jul 2012 13:36:55 +0900 |
parents | fc5b23108608 |
children | d585a7614cd5 |
comparison
equal
deleted
inserted
replaced
1465:fc5b23108608 | 1466:cb57420a8219 |
---|---|
11 #include <stdarg.h> | 11 #include <stdarg.h> |
12 | 12 |
13 | 13 |
14 extern TaskObject task_list[MAX_TASK_OBJECT]; | 14 extern TaskObject task_list[MAX_TASK_OBJECT]; |
15 | 15 |
16 | 16 static int dummy[1]; |
17 | 17 |
18 SchedTask::SchedTask() | 18 SchedTask::SchedTask() |
19 { | 19 { |
20 list = NULL; | 20 list = NULL; |
21 atask = NULL; | 21 atask = NULL; |
42 | 42 |
43 // scheduler->mainMem_wait(); // これはなんで? | 43 // scheduler->mainMem_wait(); // これはなんで? |
44 manager = sc->manager; | 44 manager = sc->manager; |
45 connector = sc->connector; | 45 connector = sc->connector; |
46 | 46 |
47 inListData.bound = 0; | 47 inListData.bound = dummy; |
48 inListData.size = 0; | 48 inListData.size = 0; |
49 inListData.length = 0; | 49 inListData.length = 0; |
50 inListData.element = 0; | 50 inListData.element = 0; |
51 outListData.bound = 0; | 51 outListData.bound = dummy; |
52 outListData.size = 0; | 52 outListData.size = 0; |
53 outListData.length = 0; | 53 outListData.length = 0; |
54 outListData.element = 0; | 54 outListData.element = 0; |
55 | 55 |
56 cur_index = _task; | 56 cur_index = _task; |