sksp2024-mcu/libucw/ucw/threads-conf.c

28 lines
568 B
C
Raw Normal View History

2024-09-14 21:50:33 +02:00
/*
* The UCW Library -- Threading Helpers
*
* (c) 2006 Martin Mares <mj@ucw.cz>
*
* This software may be freely distributed and used according to the terms
* of the GNU Lesser General Public License.
*/
#include <ucw/lib.h>
#include <ucw/threads.h>
#include <ucw/conf.h>
uint ucwlib_thread_stack_size = 65556;
static struct cf_section threads_config = {
CF_ITEMS {
CF_UINT("DefaultStackSize", &ucwlib_thread_stack_size),
CF_END
}
};
static void CONSTRUCTOR
ucwlib_threads_conf_init(void)
{
cf_declare_section("Threads", &threads_config, 0);
}