]> mj.ucw.cz Git - libucw.git/blobdiff - lib/workqueue.h
Use Threads.DefaultStackSize instead of various local stack sizes.
[libucw.git] / lib / workqueue.h
index 5f8b5fcdc91d7d80efec238fcc27a578c8b6f7cf..c16904abc2c694b0d53cb56c408363befc5bbd23 100644 (file)
@@ -47,7 +47,7 @@ struct raw_queue {                            // Generic queue with locking
 struct worker_pool {
   struct raw_queue requests;
   uns num_threads;
-  uns stack_size;
+  uns stack_size;                              // 0 for default
   struct worker_thread *(*new_thread)(void);   // default: xmalloc the struct
   void (*free_thread)(struct worker_thread *t);        // default: xfree
   void (*init_thread)(struct worker_thread *t);        // default: empty