annotate example/many_task/sort.h @ 227:d54cbfafcb82

add sort
author gongo@localhost.localdomain
date Wed, 11 Feb 2009 11:09:39 +0900
parents
children 00fe05184a02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
227
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
1 // array position
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
2 typedef struct Data {
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
3 int index;
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
4 int ptr;
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
5 int pad[2];
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
6 } Data, *DataPtr;
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
7
d54cbfafcb82 add sort
gongo@localhost.localdomain
parents:
diff changeset
8 #define MAX_BLOCK_SIZE (int)(1024*16/(sizeof(Data)))