view 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
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)))