summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-10 18:31:08 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-10 18:31:08 +0000
commit32598c729363bea9903cfaa467519ccb072b36dc (patch)
tree1bbfd8be66b396406a12040a2f08368f6903f24d /nuttx/sched
parentc045ce53e389473aa4f68e295a7eb1e7e2a7b54d (diff)
downloadpx4-nuttx-32598c729363bea9903cfaa467519ccb072b36dc.tar.gz
px4-nuttx-32598c729363bea9903cfaa467519ccb072b36dc.tar.bz2
px4-nuttx-32598c729363bea9903cfaa467519ccb072b36dc.zip
Add missing support for signal masks to posix_spawn.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5505 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/task_setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/task_setup.c b/nuttx/sched/task_setup.c
index a37fb165a..8721b39ec 100644
--- a/nuttx/sched/task_setup.c
+++ b/nuttx/sched/task_setup.c
@@ -231,8 +231,8 @@ int task_schedsetup(FAR _TCB *tcb, int priority, start_t start, main_t main)
tcb->start = start;
tcb->entry.main = main;
- /* exec() and pthread_create() inherit the signal mask of the
- * parent thread. I suppose that task_create() should as well.
+ /* exec(), pthread_create(), task_create(), and vfork() all
+ * inherit the signal mask of the parent thread.
*/
#ifndef CONFIG_DISABLE_SIGNALS