From 0d9fb476ea6f347c48a3ac8c2d98251467421203 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 5 Feb 2013 19:50:37 +0000 Subject: 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 --- nuttx/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nuttx/ChangeLog') diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 980885b00..cd9d7b474 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -4135,4 +4135,13 @@ exit the task group last. In this case, we need to remember the the PID of the main task in the task group and use that PID for signalling SIGCHILD to the parent task group. + * included/nuttx/sched.h and sched/sig*.c: Numerous changes to the + signal deliver logic so that the delivery of signals to threads + within a task group will be compliant with delivery of signals + to threads within a POSIX process. + * sched/mq_recover.c and task_exithook.c: Add logic to handle the + case where a task is deleted (or pthread canceled) while it is + waiting on a message queue. task_delete() and pthread_cancel() + are dangerous interfaces. This is only one feeble recover measure + of *many* that would be needed to do this safely. -- cgit v1.2.3