summaryrefslogtreecommitdiff
path: root/nuttx/sched/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-06 00:02:07 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-06 00:02:07 +0000
commit9e9de3d19ebf1890bfccd0bf63fa0209e2ec9359 (patch)
tree29fb311b41914129b7f666079bef010edd8afa65 /nuttx/sched/Kconfig
parent7b06c73d1d766cd3376be29dccbd28a16e3f385b (diff)
downloadpx4-nuttx-9e9de3d19ebf1890bfccd0bf63fa0209e2ec9359.tar.gz
px4-nuttx-9e9de3d19ebf1890bfccd0bf63fa0209e2ec9359.tar.bz2
px4-nuttx-9e9de3d19ebf1890bfccd0bf63fa0209e2ec9359.zip
Implement user-mode work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5712 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/Kconfig')
-rw-r--r--nuttx/sched/Kconfig68
1 files changed, 0 insertions, 68 deletions
diff --git a/nuttx/sched/Kconfig b/nuttx/sched/Kconfig
index 61900f498..b7561ff58 100644
--- a/nuttx/sched/Kconfig
+++ b/nuttx/sched/Kconfig
@@ -245,74 +245,6 @@ config SDCLONE_DISABLE
desciptors by task_create() when a new task is started. If
set, all sockets will appear to be closed in the new task.
-config SCHED_WORKQUEUE
- bool "Enable worker thread"
- default n
- depends on !DISABLE_SIGNALS
- ---help---
- Create a dedicated "worker" thread to handle delayed processing from interrupt
- handlers. This feature is required for some drivers but, if there are no
- complaints, can be safely disabled. The worker thread also performs
- garbage collection -- completing any delayed memory deallocations from
- interrupt handlers. If the worker thread is disabled, then that clean up will
- be performed by the IDLE thread instead (which runs at the lowest of priority
- and may not be appropriate if memory reclamation is of high priority).
-
-config SCHED_WORKPRIORITY
- int "Worker thread priority"
- default 192
- depends on SCHED_WORKQUEUE
- ---help---
- The execution priority of the worker thread. Default: 192
-
-config SCHED_WORKPERIOD
- int "Worker thread period"
- default 50000
- depends on SCHED_WORKQUEUE
- ---help---
- How often the worker thread checks for work in units of microseconds.
- Default: 50*1000 (50 MS).
-
-config SCHED_WORKSTACKSIZE
- int "Worker thread stack size"
- default 2048
- depends on SCHED_WORKQUEUE
- ---help---
- The stack size allocated for the worker thread. Default: 2K.
-
-config SCHED_LPWORK
- bool "Enable a lower priority worker thread"
- default n
- depends on SCHED_WORKQUEUE
- ---help---
- If SCHED_WORKQUEUE is defined, then a single work queue is created by
- default. If SCHED_LPWORK is also defined then an additional, lower-
- priority work queue will also be created. This lower priority work
- queue is better suited for more extended processing (such as file system
- clean-up operations)
-
-config SCHED_LPWORKPRIORITY
- int "Lower priority worker thread priority"
- default 50
- depends on SCHED_LPWORK
- ---help---
- The execution priority of the lopwer priority worker thread. Default: 192
-
-config SCHED_LPWORKPERIOD
- int "Lower priority worker thread period"
- default 50000
- depends on SCHED_LPWORK
- ---help---
- How often the lower priority worker thread checks for work in units
- of microseconds. Default: 50*1000 (50 MS).
-
-config SCHED_LPWORKSTACKSIZE
- int "Lower priority worker thread stack size"
- default 2048
- depends on SCHED_LPWORK
- ---help---
- The stack size allocated for the lower priority worker thread. Default: 2K.
-
config SCHED_WAITPID
bool "Enable waitpid() API"
default n