diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-05 19:50:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-05 19:50:37 +0000 |
commit | 0d9fb476ea6f347c48a3ac8c2d98251467421203 (patch) | |
tree | e98b731e1ff4298ed906fde23198fb4d9a9d61a9 /nuttx/TODO | |
parent | 70121d6ca8fd0e48f35b3ccb52e3b960e64df6c2 (diff) | |
download | px4-nuttx-0d9fb476ea6f347c48a3ac8c2d98251467421203.tar.gz px4-nuttx-0d9fb476ea6f347c48a3ac8c2d98251467421203.tar.bz2 px4-nuttx-0d9fb476ea6f347c48a3ac8c2d98251467421203.zip |
Moving pending signals to task group; Logic to recover some MQ resources on pthread_cacancel or task_delete; Now obeys rules for delivering signals to a process with threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5613 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/TODO')
-rw-r--r-- | nuttx/TODO | 46 |
1 files changed, 2 insertions, 44 deletions
diff --git a/nuttx/TODO b/nuttx/TODO index 3e2413ded..ac2afa775 100644 --- a/nuttx/TODO +++ b/nuttx/TODO @@ -1,4 +1,4 @@ -NuttX TODO List (Last updated February 2, 2013) +NuttX TODO List (Last updated February 5, 2013) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This file summarizes known NuttX bugs, limitations, inconsistencies with @@ -6,7 +6,7 @@ standards, things that could be improved, and ideas for enhancements. nuttx/ - (12) Task/Scheduler (sched/) + (11) Task/Scheduler (sched/) (1) Memory Managment (mm/) (3) Signals (sched/, arch/) (2) pthreads (sched/) @@ -204,48 +204,6 @@ o Task/Scheduler (sched/) incompatibilities could show up in porting some code). Priority: Low - Title: SIGNALS IN TASK GROUPS WITH MANY PTHREADS - Description: Presumably when you single the task group you would signal - using the task ID of the task that created the group (in - practice, a different task should not know the IDs of the - internal threads created within the task group). - - Here are some of the things that should happen, but don't - as of this writing: - - - If a task group receives a signal then one and only one - indeterminate thread in the process which is not blocking - the signal should receive the signal. - - - If a task group receives a signal and more than one thread - is waiting on that signal, then one and only one - indeterminate thread out of that waiting group will receive - the signal. - - - If any signal which would normally cause the termination of - a process is sent to a thread it will result in the parent - process and all threads being terminated. (NuttX does not - support these default signal actions... that is really - another topic). - - On creation a thread does correctly inherits the signal mask of the thread that created it. - - You should be able to control which thread receives the signal - by control the signal mask. You should, for example, be able - to create a seperate thread whose sole purpose it is to catch - signals and respond to them. You can mask out certain signals - using sigprocmask() (or pthread_sigmask()). These signals - will be effectively disabled and will never be received in - these contexts. In the "signal processing" thread, enable the - blocked signals. This should now be the only thread who - receives the signals. - - At present, the signal APIs will attempt to signal only the - thread that is the main task of the task group. - Status: Open. - Priority: Medium-high for spec compliance; but probably low for everyday - embedded applications. - o Memory Managment (mm/) ^^^^^^^^^^^^^^^^^^^^^^ |