view TaskManager/Fifo/FifoTaskManagerImpl.cc @ 47:8266445bdac2

*** empty log message ***
author gongo
date Fri, 15 Feb 2008 13:09:58 +0900
parents aa11038dbdc1
children 7492eb28b577
line wrap: on
line source

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "FifoTaskManagerImpl.h"
#include "types.h"

FifoTaskManagerImpl::~FifoTaskManagerImpl(void)
{
    delete taskInfo;
    delete mailManager;
}

void
FifoTaskManagerImpl::init(void)
{
    TaskManagerImpl::init();

    taskInfo = new BufferManager;
    taskInfo->init();
}

void
FifoTaskManagerImpl::spawn_task(HTaskPtr task)
{
    TaskManagerImpl::spawn_task(task);
    //run();
}

TaskManagerImpl*
create_impl(int num)
{
    return new FifoTaskManagerImpl();
}