Changeset c398c66 in rtems


Ignore:
Timestamp:
Jun 5, 2013, 8:34:05 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
54e9216
Parents:
4fc370e
git-author:
Sebastian Huber <sebastian.huber@…> (06/05/13 08:34:05)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/07/13 15:02:26)
Message:

score: Align _Objects_Get_isr_disable()

Align ISR disable/enable sequence in _Objects_Get_isr_disable() with
thread dispatch disable/enable sequence in _Objects_Get().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/objectgetisr.c

    r4fc370e rc398c66  
    4444  index = id - information->minimum_id + 1;
    4545
    46   _ISR_Disable( level );
    4746  if ( information->maximum >= index ) {
     47    _ISR_Disable( level );
    4848    if ( (the_object = information->local_table[ index ]) != NULL ) {
    4949      *location = OBJECTS_LOCAL;
     
    5555    return NULL;
    5656  }
    57   _ISR_Enable( level );
    5857  *location = OBJECTS_ERROR;
    5958
Note: See TracChangeset for help on using the changeset viewer.