Mercurial > hg > Game > Cerium
view example/many_task/sort.h @ 639:91d03774c407 draft
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | 984e7890db0c |
children | e78f70dc7ef8 |
line wrap: on
line source
#include "TaskManager.h" // array position typedef struct Data { int index; int ptr; int pad[2]; } Data, *DataPtr; extern void sort_init(TaskManager *,int, int); #define MAX_BLOCK_SIZE (int)(1024*16/(sizeof(Data)))