view TaskManager/kernel/schedule/SchedNop.cc @ 467:44c0bce54dcf

fix all examples. test_render is not working now.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 01 Oct 2009 19:25:25 +0900
parents 8611780d479f
children 735f76483bb2
line wrap: on
line source

#include <stdio.h>
#include "SchedNop.h"
#include "SchedMail.h"
#include "error.h"

SchedTaskBase*
SchedNop::next(Scheduler *scheduler, SchedTaskBase *p)
{
    __debug("SchedNop::next()");
    
    delete p;

    return new SchedMail();
}