nuttx-apps/system/libuv/Kconfig
Huang Qi ec15dc0344 system/libuv: Support specify stack size for worker thread
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-29 18:09:10 +03:00

50 lines
848 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config LIBUV
bool "libuv asynchronous I/O Library"
default n
select PIPES
---help---
Enable build for libuv asynchronous I/O Library
if LIBUV
config LIBUV_THREADPOOL_SIZE
int "libuv default thread pool size"
default 1
config LIBUV_THREAD_STACKSIZE
int "libuv worker thread stack size"
default PTHREAD_STACK_DEFAULT
choice
prompt "libuv utils"
default LIBUV_UTILS_NONE
config LIBUV_UTILS_NONE
bool "none"
config LIBUV_UTILS_TEST
bool "uv_run_tests"
config LIBUV_UTILS_BENCHMARK
bool "uv_run_benchmarks"
endchoice
if !LIBUV_UTILS_NONE
config LIBUV_UTILS_PRIORITY
int "libuv utils priority"
default 100
config LIBUV_UTILS_STACKSIZE
int "libuv utils stack size"
default 8192
endif
endif