void workerpool_run(workerpool_t *wp)
int workerpool_get_nprocs(void)
void workerpool_destroy(workerpool_t *wp)
struct workerpool workerpool_t
Definition workerpool.h:32
void workerpool_run_single(workerpool_t *wp)
void workerpool_add_task(workerpool_t *wp, void(*f)(void *p), void *p)
workerpool_t * workerpool_create(int nthreads)
int workerpool_get_nthreads(workerpool_t *wp)