aboutsummaryrefslogtreecommitdiff
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
commit9f8f8fc6dc5c2057f61fe04bf1109a8590ef93d0 (patch)
tree1bbfd8be66b396406a12040a2f08368f6903f24d /nuttx/sched
parent322e9d18c7371f9fb27cd57ca894191d564b75c3 (diff)
downloadpx4-firmware-9f8f8fc6dc5c2057f61fe04bf1109a8590ef93d0.tar.gz
px4-firmware-9f8f8fc6dc5c2057f61fe04bf1109a8590ef93d0.tar.bz2
px4-firmware-9f8f8fc6dc5c2057f61fe04bf1109a8590ef93d0.zip
Add missing support for signal masks to posix_spawn.
git-svn-id: http://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