diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-14 10:21:18 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-14 10:21:18 -0600 |
commit | 7501579ff7683ee50d4fed4727e081c2e2535342 (patch) | |
tree | fbbe14a7474ae7549deab0ee139d3cb3fb2a65ee /nuttx/sched/Kconfig | |
parent | 0722a39b7423738eb2f49218c51036eb93b70016 (diff) | |
download | px4-nuttx-7501579ff7683ee50d4fed4727e081c2e2535342.tar.gz px4-nuttx-7501579ff7683ee50d4fed4727e081c2e2535342.tar.bz2 px4-nuttx-7501579ff7683ee50d4fed4727e081c2e2535342.zip |
Add description of work queues to the porting guide. Update comments
Diffstat (limited to 'nuttx/sched/Kconfig')
-rw-r--r-- | nuttx/sched/Kconfig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/sched/Kconfig b/nuttx/sched/Kconfig index a81bfa06d..791e9194b 100644 --- a/nuttx/sched/Kconfig +++ b/nuttx/sched/Kconfig @@ -855,7 +855,7 @@ config SCHED_HPWORKPRIORITY The higher priority worker thread is intended to serve as the "bottom" half for device drivers. As a consequence it must run at a very high, fixed priority. Typically, it should be the highest - priority thread in your system. Default: 192 + priority thread in your system. Default: 224 For lower priority, application oriented worker thread support, please consider enabling the lower priority work queue. The lower @@ -903,14 +903,14 @@ config SCHED_LPNTHREADS default 4 if FS_AIO ---help--- This options selects multiple, low-priority threads. This is - essentially a "thread pool" that provides multi-threaded service - of the low-priority work thread. This breaks the serialization + essentially a "thread pool" that provides multi-threaded servicing + of the low-priority work queue. This breaks the serialization of the "queue" (hence, it is no longer a queue at all). This options is required to support, for example, I/O operations that stall waiting for input. If there is only a single thread, then the entire low-priority queue processing stalls in such cases. - Such behvior must be support for asynchronous I/O, AIO (for example). + Such behavior is necessary to support asynchronous I/O, AIO (for example). config SCHED_LPWORKPRIORITY int "Low priority worker thread priority" @@ -959,7 +959,7 @@ config SCHED_LPWORKPRIOMAX it must run at a very high, fixed priority. Typically, it should be the highest priority thread in your system. - This function provides an upper limit on the priority of the lower + This value provides an upper limit on the priority of the lower priority worker thread. This would be necessary, for example, if the higher priority worker thread were to defer work to the lower priority thread. Clearly, in such a case, you would want to limit |