2017-02-10 23:32:55 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2017-02-11 00:04:56 +08:00
|
|
|
menu "User Work Queue Support"
|
2017-02-11 00:28:34 +08:00
|
|
|
depends on (BUILD_PROTECTED || BUILD_KERNEL) && !DISABLE_SIGNALS
|
2017-02-10 23:32:55 +08:00
|
|
|
|
|
|
|
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_USRWORKPERIOD
|
|
|
|
int "User mode worker thread period"
|
|
|
|
default 100000
|
|
|
|
---help---
|
|
|
|
How often the lower priority worker thread checks for work in units
|
|
|
|
of microseconds. Default: 100*1000 (100 MS).
|
|
|
|
|
|
|
|
config LIB_USRWORKSTACKSIZE
|
|
|
|
int "User mode worker thread stack size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
The stack size allocated for the lower priority worker thread. Default: 2K.
|
|
|
|
|
|
|
|
endif # LIB_USRWORK
|
2017-02-11 00:04:56 +08:00
|
|
|
endmenu # User Work Queue Support
|