]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/workqueue.c
Added string functions for matching of prefixes and suffixes
[libucw.git] / ucw / workqueue.c
index 83f81def5566ac5301360c887c630e93792429ce..2dd58c9ecfeb0b1fafd877b1202fbce8d7f93c72 100644 (file)
@@ -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++)