summaryrefslogtreecommitdiff
path: root/components/drivers/Kconfig
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-04-01 18:10:27 +0800
committerGitHub <[email protected]>2019-04-01 18:10:27 +0800
commit98ff2c00ceff735eff608a28f7811b7455c49a48 (patch)
tree3a347036f5bcf17a184d873b3f8548d9725491d3 /components/drivers/Kconfig
parent312a6200f6021c36f3c64a7b94aff3919f77f357 (diff)
parentc7ccb4f5323b577d080021f364fef66e9514b6be (diff)
Merge pull request #2463 from EvalZero/master
[components][drivers][workqueue] add system default workqueue and delayed work.
Diffstat (limited to 'components/drivers/Kconfig')
-rwxr-xr-xcomponents/drivers/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 4975f575fa..c883e6458b 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