comparison TaskManager/kernel/ppe/TaskList.h @ 830:c7905ead974f

return TaskList->self
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 25 May 2010 17:28:05 +0900
parents 76a39ad68846
children bed529c55eda
comparison
equal deleted inserted replaced
829:4c292ff3558d 830:c7905ead974f
15 TaskList *next; // 4 byte 15 TaskList *next; // 4 byte
16 TaskList *prev; // 4 byte 16 TaskList *prev; // 4 byte
17 TaskList *waiter; // 4 byte 17 TaskList *waiter; // 4 byte
18 SimpleTask tasks[TASK_MAX_SIZE]; // 24*TASK_MAX_SIZE 18 SimpleTask tasks[TASK_MAX_SIZE]; // 24*TASK_MAX_SIZE
19 19
20 void init() { length = 0; } 20 void init() { length = 0; waiter=this; }
21 }; 21 };
22 22
23 typedef TaskList* TaskListPtr; 23 typedef TaskList* TaskListPtr;
24 24
25 #endif 25 #endif