src/server/util/thrpool.h

changeset 738
677bff22d1b2
parent 570
f95868a8ec37
equal deleted inserted replaced
737:b240ff52cee5 738:677bff22d1b2
49 int min_threads; 49 int min_threads;
50 int max_threads; 50 int max_threads;
51 pthread_t *threads; 51 pthread_t *threads;
52 int *thrstatus; 52 int *thrstatus;
53 time_t last_job; 53 time_t last_job;
54 int last_thread;
55 }; 54 };
56 55
57 struct _threadpool_job { 56 struct _threadpool_job {
58 job_callback_f callback; 57 job_callback_f callback;
59 void *data; 58 void *data;

mercurial