Fix message queue/signal handling bugs

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3849 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-08-07 12:58:54 +00:00
parent ede9abb5d9
commit 38009a3772
8 changed files with 236 additions and 46 deletions
+8
View File
@@ -1990,4 +1990,12 @@
directories and files to armv7-m; Change name of of all CORTEXM3 constants
to ARMV7M. This is a major namespace change needed to cleanly support the
ARM Cortex-M4 which is also in the ARMv7 M Series (specifically, ARMv7E-M).
* sched/sig_initialize.c, sig_received.c, and mq_waitirq.c. Fixed several
critical bugs related to signal handling initialization and for signals
the wake up tasks that are waiting to send or receive message queues. In
the first two files, errors would prevent proper allocation of signal-related
structures from interrupt handlers. In the second, there was missing
"clean-up" logic after a signal occurred, leaving the message queue in
a bad state and resulting in PANICs. All are important. (submitted by
hkwilton).