view TaskManager/Cell/CellBufferManager.cc @ 366:09f33c51a204

rename include/TaskManager/* and add memory
author aaa
date Mon, 27 Jul 2009 15:51:18 +0900
parents f64d75473f95
children
line wrap: on
line source

#include "CellBufferManager.h"
#include "CellTaskListInfo.h"
#include "CellHTaskInfo.h"

void
CellBufferManager::init(void)
{
    BufferManager::init();

    // なんつーか。。。
    // おかしいよな・・・
    delete taskListImpl;
    taskListImpl = new CellTaskListInfo;
    taskListImpl->init(machineNum*2);

    delete htaskImpl;
    htaskImpl = new CellHTaskInfo;
    htaskImpl->init(TASK_MAX_SIZE*2);
}