nuttx/libs/libc/wqueue/Kconfig
YAMAMOTO Takashi f8077022bd Introduce CONFIG_DEFAULT_TASK_STACKSIZE
* The appropriate size of stack varies among archs.
  E.g. for 64-bit sim, 2048 is way too small, especially when the task
  happens to use host OS functionalities.
  I plan to allow an arch provide its own default.

* I plan to use this to replace hardcoded "STACKSIZE = 2048" in APPDIR.
2020-03-26 22:30:13 -05:00

32 lines
836 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menu "User Work Queue Support"
depends on BUILD_PROTECTED || BUILD_KERNEL
config LIB_USRWORK
bool "User mode worker thread"
default n
---help---
User space work queues can also be made available for deferred
processing in the NuttX kernel build.
if LIB_USRWORK
config LIB_USRWORKPRIORITY
int "User mode priority worker thread priority"
default 100
---help---
The execution priority of the user-mode priority worker thread. Default: 100
config LIB_USRWORKSTACKSIZE
int "User mode worker thread stack size"
default DEFAULT_TASK_STACKSIZE
---help---
The stack size allocated for the lower priority worker thread. Default: 2K.
endif # LIB_USRWORK
endmenu # User Work Queue Support