view TaskManager/Cell/CellBufferManager.cc @ 217:897aeb144569

fix
author gongo@localhost.localdomain
date Wed, 04 Feb 2009 22:50:42 +0900
parents 5c194c71eca8
children 58fd16298954
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);
}