Mercurial > hg > Game > Cerium
view example/many_task/Func.h @ 203:1eba8570808c draft
fix CreateSpan::run
author | gongo@localhost.localdomain |
---|---|
date | Mon, 26 Jan 2009 18:30:35 +0900 |
parents | 028ffc9c0375 |
children | 305ac1897c50 |
line wrap: on
line source
#define NUM_ITEM 12000 #define EXE_NUM 6 #define TASK_NUM 6 #define HTASK_NUM 5 enum { HELLO_TASK, TASK_MAIN, TASK_FINISH, QUICK_SORT, }; // array position typedef struct Data { int index; int ptr; } Data; //extern function extern void init_data ( Data *data , int size); extern void show_data( Data *data, int size ); extern void write_data( Data *data, int size);