Mercurial > hg > Game > Cerium
view example/many_task/sort.h @ 829:c3fb62d9355f draft
merge
author | tkaito |
---|---|
date | Tue, 25 May 2010 03:41:10 +0900 |
parents | e78f70dc7ef8 |
children | 9ed1c4a877ca |
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(SchedTask *,void *, void *); #define MAX_BLOCK_SIZE (int)(1024*16/(sizeof(Data)))