X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fworkqueue.c;h=732160bba65553a277403f6cee6159543283baad;hb=fa7aa6d9457616ce28f97c83eaa616d0ff276870;hp=83f81def5566ac5301360c887c630e93792429ce;hpb=36374b48f5994303bbd414c567050a929bea2598;p=libucw.git diff --git a/ucw/workqueue.c b/ucw/workqueue.c index 83f81def..732160bb 100644 --- a/ucw/workqueue.c +++ b/ucw/workqueue.c @@ -7,10 +7,10 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/threads.h" -#include "ucw/workqueue.h" -#include "ucw/heap.h" +#include +#include +#include +#include static void * worker_thread_init(void *arg) @@ -50,7 +50,7 @@ worker_pool_init(struct worker_pool *p) pthread_attr_t attr; if (pthread_attr_init(&attr) < 0 || - pthread_attr_setstacksize(&attr, p->stack_size ? : default_thread_stack_size) < 0) + pthread_attr_setstacksize(&attr, p->stack_size ? : ucwlib_thread_stack_size) < 0) ASSERT(0); for (uns i=0; i < p->num_threads; i++)