diff 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
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/SchedTask.h	Mon Dec 14 17:12:38 2009 +0900
+++ b/TaskManager/kernel/schedule/SchedTask.h	Mon Dec 14 18:34:46 2009 +0900
@@ -34,11 +34,13 @@
     ListData outListData;
 #endif
 
-private:
     /* variables */
     
     // 現在スケジューラが実行している TaskList と、このタスクに対応する Task
     TaskListPtr list;
+    // Task の、Tasklist での位置。(task = &list[cur_index-1])
+    int cur_index;
+private:
 
     /**
      * read データ、write 用のバッファ
@@ -49,8 +51,6 @@
     void *readbuf;
     void *writebuf;
 
-    // Task の、Tasklist での位置。(task = &list[cur_index-1])
-    int cur_index;
 
     /* functions */