view example/post_function/ppe/task_init.cc @ 151:9d16c8047312 draft

fix
author gongo@gendarme.local
date Tue, 02 Dec 2008 19:14:52 +0900
parents 028ffc9c0375
children 768452fab95e
line wrap: on
line source

#include "Func.h"
#include "Scheduler.h"

/* 必ずこの位置に書いて */
SchedExternTask(Hello);

/**
 * この関数は ../spe/spe-main と違って
 * 自分で呼び出せばいい関数なので
 * 好きな関数名でおk (SchedRegisterTask は必須)
 */

void
task_init(void)
{
  SchedRegisterTask(HELLO_TASK, Hello);
}