diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-02 00:42:46 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-02 00:42:46 +0000 |
commit | 6913926a9621d7aa92c89a44d7946290d299dcde (patch) | |
tree | f5f5fb874369d5379c1bdd728e0789c499e7ce81 /nuttx/sched | |
parent | 20324504d5997b2ddad85ec3bfa91544c09edd2a (diff) | |
download | px4-firmware-6913926a9621d7aa92c89a44d7946290d299dcde.tar.gz px4-firmware-6913926a9621d7aa92c89a44d7946290d299dcde.tar.bz2 px4-firmware-6913926a9621d7aa92c89a44d7946290d299dcde.zip |
Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4996 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/Kconfig | 78 |
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 |