annotate example/get_segment/spe/spe-main.cc @ 354:81b25e5d5379

add example/get_segment and change spe/DrawSpan.cpp
author koba
date Wed, 15 Jul 2009 17:39:51 +0900
parents
children cd77224d4224
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
354
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
1 #include "Func.h"
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
2 #include "Scheduler.h"
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
3
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
4 SchedExternTask(Hello);
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
5
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
6 /**
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
7 * この関数は SpeScheduler から呼ばれるので
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
8 * 必ずこの関数名でお願いします。
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
9 */
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
10 void
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
11 task_init(void)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
12 {
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
13 SchedRegisterTask(HELLO_TASK, Hello);
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
14 }