diff options
| author | EvalZero <[email protected]> | 2019-03-17 16:01:12 +0800 |
|---|---|---|
| committer | EvalZero <[email protected]> | 2019-03-30 14:29:30 +0800 |
| commit | c7ccb4f5323b577d080021f364fef66e9514b6be (patch) | |
| tree | 26b59b23cc0a87cf2341ee0737f137b5e9565d94 /components/drivers/Kconfig | |
| parent | 359d57006116be4956ef253239ad5bc6c1c199ab (diff) | |
[components][drivers][workqueue] add system default workqueue and delayed work.
Diffstat (limited to 'components/drivers/Kconfig')
| -rwxr-xr-x | components/drivers/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig index 137402489a..39ed9c7709 100755 --- a/components/drivers/Kconfig +++ b/components/drivers/Kconfig @@ -8,6 +8,20 @@ if RT_USING_DEVICE_IPC config RT_PIPE_BUFSZ int "Set pipe buffer size" default 512 + + config RT_USING_SYSTEM_WORKQUEUE + bool "Using system default workqueue + default n + + if RT_USING_SYSTEM_WORKQUEUE + config RT_SYSTEM_WORKQUEUE_STACKSIZE + int "The stack size for system workqueue thread" + default 512 + + config RT_SYSTEM_WORKQUEUE_PRIORITY + int "The priority level of system workqueue thread" + default "23 + endif endif config RT_USING_SERIAL |
