diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-12 19:58:45 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-12 19:58:45 +0000 |
commit | b58281cab8add0af82167282126132b069170dd6 (patch) | |
tree | 84c6da5c61268158365bdafe58f546b34a0b8a91 /nuttx/sched/timer_settime.c | |
parent | db161f73bc2608dbb8ad8c022609198f7f0b3f95 (diff) | |
download | px4-firmware-b58281cab8add0af82167282126132b069170dd6.tar.gz px4-firmware-b58281cab8add0af82167282126132b069170dd6.tar.bz2 px4-firmware-b58281cab8add0af82167282126132b069170dd6.zip |
Fix a *critical* bug in the task exit logic. Implements SIGCHILD
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5513 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/timer_settime.c')
-rw-r--r-- | nuttx/sched/timer_settime.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/sched/timer_settime.c b/nuttx/sched/timer_settime.c index 1814ba898..f09842ad4 100644 --- a/nuttx/sched/timer_settime.c +++ b/nuttx/sched/timer_settime.c @@ -113,6 +113,10 @@ static void inline timer_sigqueue(FAR struct posix_timer_s *timer) #else info.si_value.sival_ptr = timer->pt_value.sival_ptr; #endif +#ifdef CONFIG_SCHED_HAVE_PARENT + info.si_pid = 0; /* Not applicable */ + info.si_status = OK; +#endif /* Send the signal */ |