Mercurial > hg > Game > Cerium
view TaskManager/kernel/ppe/TaskQueue.h @ 2054:2e7a6f40672f draft
add param(4) in FileMapReduce.cc
author | masa |
---|---|
date | Fri, 29 Jan 2016 15:56:28 +0900 |
parents | 338523ff6986 |
children |
line wrap: on
line source
#ifndef INCLUDED_TASK_QUEUE #define INCLUDED_TASK_QUEUE #include "base.h" #include "types.h" class HTask; class TaskQueue { /** HTask 間の dependency を表すリスト。HTask の wait_me と wait_i がこれ。 */ public: TaskQueue(HTask *q = NULL); BASE_NEW_DELETE(TaskQueue); HTask *task; TaskQueue *waiter; TaskQueue *next; TaskQueue *prev; void init() { } void initOnce() { } void freeOnce() {} TaskQueue *init(HTask *task) { this->task = task; return this; } } ; typedef TaskQueue* TaskQueuePtr; #endif