view TaskManager/Cell/CellBufferManager.cc @ 318:7efc5ede2c03

Document/Cerium_2009.mm
author aaa
date Tue, 09 Jun 2009 22:55:00 +0900
parents 58fd16298954
children f64d75473f95
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);
}