1#ifndef _LIBTHREAD_THREADPOOL_H
2#define _LIBTHREAD_THREADPOOL_H
13 Job *
createJob(
void (*func)(
long ndeps, Job **deps));
Class used for (list of) interpreter objects.
Job * startJob(ThreadPool *pool, Job *job, leftv arg)
ThreadPool * createThreadPool(int threads, int prioThreads=0)
void setJobData(Job *job, void *data)
ThreadPool * getCurrentThreadPool()
void addJobArgs(Job *job, leftv arg)
void * getJobData(Job *job)
void closeThreadPool(ThreadPool *pool, bool wait)
Job * createJob(void(*func)(leftv result, leftv arg))
const char * getJobName()
void setJobName(const char *)
leftv getJobResult(Job *job)