view TaskManager/Cell/CellBufferManager.cc @ 382:12099d1ce7fc

chain.cpp update
author kazz@kazzone.cr.ie.u-ryukyu.ac.jp
date Mon, 03 Aug 2009 04:22:11 +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);
}