Mercurial > hg > Members > kono > Cerium
comparison TaskManager/kernel/schedule/SchedTask.h @ 703:61b59376aec5
compatibility
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2009 18:34:46 +0900 |
parents | dcaa40ec963d |
children | 55159a5bf2c4 |
comparison
equal
deleted
inserted
replaced
702:80666cb35f10 | 703:61b59376aec5 |
---|---|
32 SimpleTaskPtr task; | 32 SimpleTaskPtr task; |
33 ListData inListData; | 33 ListData inListData; |
34 ListData outListData; | 34 ListData outListData; |
35 #endif | 35 #endif |
36 | 36 |
37 private: | |
38 /* variables */ | 37 /* variables */ |
39 | 38 |
40 // 現在スケジューラが実行している TaskList と、このタスクに対応する Task | 39 // 現在スケジューラが実行している TaskList と、このタスクに対応する Task |
41 TaskListPtr list; | 40 TaskListPtr list; |
41 // Task の、Tasklist での位置。(task = &list[cur_index-1]) | |
42 int cur_index; | |
43 private: | |
42 | 44 |
43 /** | 45 /** |
44 * read データ、write 用のバッファ | 46 * read データ、write 用のバッファ |
45 * readbuf には タスク登録時に設定した入力データが入っている。 | 47 * readbuf には タスク登録時に設定した入力データが入っている。 |
46 * writebuf にデータを描き込んでおくと、 | 48 * writebuf にデータを描き込んでおくと、 |
47 * タスク登録時に設定した出力先に書き込む | 49 * タスク登録時に設定した出力先に書き込む |
48 */ | 50 */ |
49 void *readbuf; | 51 void *readbuf; |
50 void *writebuf; | 52 void *writebuf; |
51 | 53 |
52 // Task の、Tasklist での位置。(task = &list[cur_index-1]) | |
53 int cur_index; | |
54 | 54 |
55 /* functions */ | 55 /* functions */ |
56 | 56 |
57 // override | 57 // override |
58 void read(); | 58 void read(); |