summaryrefslogtreecommitdiff
path: root/nuttx/sched/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-02 00:42:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-02 00:42:46 +0000
commit9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4 (patch)
treef5f5fb874369d5379c1bdd728e0789c499e7ce81 /nuttx/sched/Kconfig
parent2dfc5da16f3e3abc4b36413e8205e3dcd4df7928 (diff)
downloadpx4-nuttx-9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4.tar.gz
px4-nuttx-9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4.tar.bz2
px4-nuttx-9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4.zip
Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/Kconfig')
-rw-r--r--nuttx/sched/Kconfig78
1 files changed, 78 insertions, 0 deletions
diff --git a/nuttx/sched/Kconfig b/nuttx/sched/Kconfig
index b5a69a421..f82273638 100644
--- a/nuttx/sched/Kconfig
+++ b/nuttx/sched/Kconfig
@@ -124,6 +124,84 @@ 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
+ ---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 SIG_SIGWORK
+ int "Worker thread wakeup signal"
+ default 4
+ depends on SCHED_WORKQUEUE
+ ---help---
+ The signal number that will be used to wake-up the worker thread.
+ Default: 4
+
+config SCHED_WAITPID
+ bool "Enable waitpid() API"
+ default n
+ ---help---
+ Enables the waitpid() API
+
+config SCHED_ATEXIT
+ bool "Enable atexit() API"
+ default n
+ ---help---
+ Enables the atexit() API
+
+config SCHED_ATEXIT_MAX
+ int "Max number of atexit() functions"
+ default 1
+ depends on SCHED_ATEXIT
+ ---help---
+ By default if SCHED_ATEXIT is selected, only a single atexit() function
+ is supported. That number can be increased by defined this setting to
+ the number that you require.
+
+config SCHED_ONEXIT
+ bool "Enable on_exit() API"
+ default n
+ ---help---
+ Enables the on_exit() API
+
+config SCHED_ONEXIT_MAX
+ int "Max number of on_exit() functions"
+ default 1
+ depends on SCHED_ONEXIT
+ ---help---
+ By default if SCHED_ONEXIT is selected, only a single on_exit() function
+ is supported. That number can be increased by defined this setting to the
+ number that you require.
+
config DISABLE_OS_API
bool "Disable NuttX interfaces"
default n