annotate example/many_task/sort.h @ 760:24a37fe8419a

first of all commit, not work Rendering/Test/create_task
author hiroki
date Thu, 04 Feb 2010 14:46:09 +0900
parents c13bbb7d70b3
children a9c7784e5dae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
400
00fe05184a02 Fix examples.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 227
diff changeset
1 #include "TaskManager.h"
00fe05184a02 Fix examples.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 227
diff changeset
2
227
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
3 // array position
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
4 typedef struct Data {
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
5 int index;
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
6 int ptr;
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
7 int pad[2];
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
8 } Data, *DataPtr;
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
9
651
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 400
diff changeset
10 extern void sort_init(SchedTask *,void *, void *);
400
00fe05184a02 Fix examples.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 227
diff changeset
11
00fe05184a02 Fix examples.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 227
diff changeset
12
227
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
13 #define MAX_BLOCK_SIZE (int)(1024*16/(sizeof(Data)))