cleanup code

This commit is contained in:
lxsang
2020-08-19 12:26:17 +02:00
parent 5765df3697
commit 2041ee2ba0
12 changed files with 22 additions and 482 deletions

View File

@ -118,7 +118,7 @@ static void destroy_queue(antd_task_queue_t q)
free(curr);
}
}
static void work(antd_worker_t* worker)
static void* work(antd_worker_t* worker)
{
antd_scheduler_t* scheduler = (antd_scheduler_t*) worker->manager;
while(scheduler->status)
@ -142,6 +142,7 @@ static void work(antd_worker_t* worker)
}
}
return NULL;
}
/*