#ifndef TASK_H_ #define TASK_H_ typedef struct Task{ void *target; float progress; int repeat; } Task; Task * TaskInit(int workerid); #endif