Mercurial > hg > Members > kono > Cerium
view example/many_task/task_init.cc @ 945:a9c7784e5dae
sort example fix ( simple task accepts one param and more compatible with old task)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 01 Aug 2010 19:29:27 +0900 |
parents | e54842e4d97b |
children |
line wrap: on
line source
#include "Func.h" #include "Scheduler.h" SchedExternTask(QuickSort); SchedExternTask(SortSimple); SchedExternTask(SortCompat); void task_init(void) { SchedRegisterTask(QUICK_SORT, QuickSort); SchedRegister(SortSimple); SchedRegister(SortCompat); }