Mercurial > hg > Members > kono > Cerium
view example/HelloWorld/spe/Hello.cc @ 1021:f8e9c985e2a8
use MailManager
author | yutaka@localhost.localdomain |
---|---|
date | Sun, 07 Nov 2010 22:10:29 +0900 |
parents | ab866bc8a624 |
children |
line wrap: on
line source
#include <stdio.h> #include "Hello.h" #include "Func.h" /* これは必須 */ SchedDefineTask1(Hello,hello); static int hello(SchedTask *smanager, void *rbuf, void *wbuf) { long task_id = (long)smanager->get_param(0); smanager->printf("[%ld] Hello, World!!\n", task_id); return 0; }