view TaskScheduler.h @ 0:5b089096921f

first commit.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 18 Dec 2009 21:57:05 +0900
parents
children 803d6bf22e6d
line wrap: on
line source

#ifndef _TASKSCHEDULER_H
#define _TASKSCHEDULER_H
#include <stdint.h>
#include "Task.h"
typedef uint32_t ID;

__code initScheduler(__code (*)(void *), void *);
__code addCode(ID, Taskrun, void *, void *);
__code selectCode();

#endif /* _TASKSCHEDULER_H */