Mercurial > hg > Game > Cerium
diff TaskManager/kernel/ppe/HTask.h @ 498:bce667ff20b9 draft
double linked HTaskInfo/HTask
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Oct 2009 11:46:41 +0900 |
parents | 75e4afa40da2 |
children | 981aa2f89a80 |
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/HTask.h Sat Oct 10 21:05:55 2009 +0900 +++ b/TaskManager/kernel/ppe/HTask.h Sun Oct 11 11:46:41 2009 +0900 @@ -6,7 +6,6 @@ #include "Task.h" #include "TaskQueueInfo.h" -class TaskQueueInfo; class TaskManagerImpl; /*! @@ -29,9 +28,13 @@ void (*post_func)(void *arg); void *post_arg; CPU_TYPE cpu_type; - HTask *next; // free list 用 TaskManagerImpl *mimpl; + Task *task; + HTask *waiter; + HTask *next; + HTask *prev; + void spawn(void); void wait_for(HTask *); void set_cpu(CPU_TYPE type);