41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
|
#
|
||
|
# For a description of the syntax of this configuration file,
|
||
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||
|
#
|
||
|
|
||
|
if BUILD_PROTECTED || BUILD_KERNEL
|
||
|
|
||
|
comment "User Work Queue Support"
|
||
|
|
||
|
config LIB_USRWORK
|
||
|
bool "User mode worker thread"
|
||
|
default n
|
||
|
depends on !DISABLE_SIGNALS
|
||
|
---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
|
||
|
endif # BUILD_PROTECTED || BUILD_KERNEL
|