Changeset 62da44e in rtems


Ignore:
Timestamp:
Jun 5, 2013, 12:09:38 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
17ce103
Parents:
2f49cfdf
git-author:
Sebastian Huber <sebastian.huber@…> (06/05/13 12:09:38)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/07/13 15:02:25)
Message:

rtems: Move unnest dispatch after ISR enable

This prevents a lock order reversal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/eventtimeout.c

    r2f49cfdf r62da44e  
    5858         */
    5959        if ( !the_thread->Wait.count ) {
     60          _ISR_Enable( level );
    6061          _Thread_Unnest_dispatch();
    61           _ISR_Enable( level );
    6262          return;
    6363        }
Note: See TracChangeset for help on using the changeset viewer.