summaryrefslogtreecommitdiff
path: root/nuttx/sched/mq_recover.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-06 15:43:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-06 15:43:28 +0000
commitf7b7532a4114b831f5ef66ed992d28e65fb3973f (patch)
tree929ad375fc60be5b08f35b49ff681db96d97b842 /nuttx/sched/mq_recover.c
parentd8a1b61690862777b137ec182a0d62dcf4ee8db2 (diff)
downloadpx4-nuttx-f7b7532a4114b831f5ef66ed992d28e65fb3973f.tar.gz
px4-nuttx-f7b7532a4114b831f5ef66ed992d28e65fb3973f.tar.bz2
px4-nuttx-f7b7532a4114b831f5ef66ed992d28e65fb3973f.zip
Changed needed to fix issues with task_restart()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5615 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/mq_recover.c')
-rw-r--r--nuttx/sched/mq_recover.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/sched/mq_recover.c b/nuttx/sched/mq_recover.c
index 040ded64c..8f908395e 100644
--- a/nuttx/sched/mq_recover.c
+++ b/nuttx/sched/mq_recover.c
@@ -91,8 +91,9 @@
void mq_recover(FAR struct tcb_s *tcb)
{
- /* TODO: What if it was waiting for a timed message queue event?
- * We might need the wdog in the TCB so that we can cancel timeouts.
+ /* If were were waiting for a timed message queue event, then the
+ * timer was canceled and deleted in task_recover() before this
+ * function was called.
*/
/* Was the task waiting for a message queue to become non-empty? */