view TaskManager/Cell/CellBufferManager.cc @ 364:87462f8d3761

uint32 to memaddr(uint64)
author tkaito@localhost.localdomain
date Fri, 24 Jul 2009 17:40:53 +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);
}