rtems: Move unnest dispatch after ISR enable

This prevents a lock order reversal.
This commit is contained in:
Sebastian Huber
2013-06-07 17:02:25 +02:00
parent 2f49cfdf87
commit 62da44e6d0
+1 -1
View File
@@ -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;
}