Lines Matching defs:pthreadpool
30 #include "pthreadpool.h"
39 struct pthreadpool {
92 int pthreadpool_init(unsigned max_threads, struct pthreadpool **presult)
94 struct pthreadpool *pool;
98 size = sizeof(struct pthreadpool) + max_threads * sizeof(pthread_t);
100 pool = (struct pthreadpool *)malloc(size);
136 int pthreadpool_sig_fd(struct pthreadpool *pool)
168 static void pthreadpool_join_children(struct pthreadpool *pool)
182 int pthreadpool_finished_job(struct pthreadpool *pool)
244 int pthreadpool_destroy(struct pthreadpool *pool)
310 static void pthreadpool_server_exit(struct pthreadpool *pool)
319 struct pthreadpool *pool = (struct pthreadpool *)arg;
371 * the pthreadpool list
426 int pthreadpool_add_job(struct pthreadpool *pool, int job_id,