[PATCH 2/9] rtems: Move unnest dispatch after ISR enable

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jun 5 15:22:00 UTC 2013


---
 cpukit/rtems/src/eventtimeout.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/rtems/src/eventtimeout.c b/cpukit/rtems/src/eventtimeout.c
index 31eb043..4e595de 100644
--- a/cpukit/rtems/src/eventtimeout.c
+++ b/cpukit/rtems/src/eventtimeout.c
@@ -57,8 +57,8 @@ void _Event_Timeout(
          * count set to zero.
          */
         if ( !the_thread->Wait.count ) {
-          _Thread_Unnest_dispatch();
           _ISR_Enable( level );
+          _Thread_Unnest_dispatch();
           return;
         }
 
-- 
1.7.7




More information about the devel mailing list