Changeset 928d455 in rtems


Ignore:
Timestamp:
Apr 17, 2016, 1:57:19 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
90f1265
Parents:
e781ddb
git-author:
Sebastian Huber <sebastian.huber@…> (04/17/16 13:57:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/21/16 05:29:38)
Message:

score: Close barrier object before flush

This prevents use of the object after the flush on uni-processor
configurations.

File:
1 edited

Legend:

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

    re781ddb r928d455  
    3434
    3535    case OBJECTS_LOCAL:
     36      _Objects_Close( &_Barrier_Information, &the_barrier->Object );
    3637      _CORE_barrier_Flush( &the_barrier->Barrier, NULL, 0 );
    37       _Objects_Close( &_Barrier_Information, &the_barrier->Object );
    3838      _Objects_Put( &the_barrier->Object );
    3939      _Barrier_Free( the_barrier );
Note: See TracChangeset for help on using the changeset viewer.