summaryrefslogtreecommitdiff
path: root/nuttx/ChangeLog
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-21 13:28:16 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-21 13:28:16 +0000
commit342a2fb06c717ae0fa55e3f1fba2dc28230a073f (patch)
tree34c2c48653cf89919673748b86a4578ed1a3c86e /nuttx/ChangeLog
parentdfa9ad91efa32959ed7b5c971aa6181a1704455d (diff)
downloadnuttx-342a2fb06c717ae0fa55e3f1fba2dc28230a073f.tar.gz
nuttx-342a2fb06c717ae0fa55e3f1fba2dc28230a073f.tar.bz2
nuttx-342a2fb06c717ae0fa55e3f1fba2dc28230a073f.zip
Fix important bugs in mq_timedreceived() and mq_timedsend()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3966 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r--nuttx/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index dea82eb65..25b43abe3 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -2100,3 +2100,11 @@
* arch/arm/src/stm32/stm32_i2c.c: Fix another bug where I2C conflicts with FSMC
being enabled. That time at the tail end of the transaction where there is
an unfinished stop condition.
+ * sched/mq_timedreceive.c and sched/mq_timedsend.c: The count of threads
+ waiting on the message queues was not being decremented after a timeout.
+ This would cause the accounting logic to become out of sync and the, perhaps,
+ an assertion to be triggered. This is an important bug and fixes a
+ potential crash when using mq_timedreceived() and mq_timedsend().
+ * sched/mq_sndinternal.c: Related to the above, the send logic was incrementing
+ the wrong counter when it waited as part of the mq_timedsend.c logic.
+