]> mj.ucw.cz Git - libucw.git/blob - ucw/threads-conf.c
Updated TODO
[libucw.git] / ucw / threads-conf.c
1 /*
2  *      The UCW Library -- Threading Helpers
3  *
4  *      (c) 2006 Martin Mares <mj@ucw.cz>
5  *
6  *      This software may be freely distributed and used according to the terms
7  *      of the GNU Lesser General Public License.
8  */
9
10 #include <ucw/lib.h>
11 #include <ucw/threads.h>
12 #include <ucw/conf.h>
13
14 uns ucwlib_thread_stack_size = 65556;
15
16 static struct cf_section threads_config = {
17   CF_ITEMS {
18     CF_UNS("DefaultStackSize", &ucwlib_thread_stack_size),
19     CF_END
20   }
21 };
22
23 static void CONSTRUCTOR
24 ucwlib_threads_conf_init(void)
25 {
26   cf_declare_section("Threads", &threads_config, 0);
27 }