Mercurial > hg > Members > kono > Cerium
comparison TaskManager/kernel/ppe/TaskQueue.h @ 366:09f33c51a204
rename include/TaskManager/* and add memory
author | aaa |
---|---|
date | Mon, 27 Jul 2009 15:51:18 +0900 |
parents | include/TaskManager/TaskQueue.h@7075842aa155 |
children | 5bda98b0b56d |
comparison
equal
deleted
inserted
replaced
365:f8769040a5df | 366:09f33c51a204 |
---|---|
1 #ifndef INCLUDED_TASK_QUEUE | |
2 #define INCLUDED_TASK_QUEUE | |
3 | |
4 #include "base.h" | |
5 #include "Task.h" | |
6 | |
7 #include <stdio.h> | |
8 | |
9 class TaskQueue { | |
10 public: | |
11 TaskQueue(TaskPtr q = NULL); | |
12 | |
13 BASE_NEW_DELETE(TaskQueue); | |
14 | |
15 TaskPtr task; | |
16 class TaskQueue *next; | |
17 | |
18 static TaskQueue* append(TaskQueue* list, TaskQueue* q); | |
19 }; | |
20 | |
21 typedef TaskQueue* TaskQueuePtr; | |
22 | |
23 #endif |