Changeset e781ddb in rtems


Ignore:
Timestamp:
Apr 17, 2016, 1:57:03 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
928d455
Parents:
5cc6bf4
git-author:
Sebastian Huber <sebastian.huber@…> (04/17/16 13:57:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/21/16 05:29:37)
Message:

score: Simplify _CORE_barrier_Flush()

Location:
cpukit
Files:
2 edited

Legend:

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

    r5cc6bf4 re781ddb  
    3434
    3535    case OBJECTS_LOCAL:
    36       _CORE_barrier_Flush(
    37         &the_barrier->Barrier,
    38         CORE_BARRIER_WAS_DELETED,
    39         NULL,
    40         id
    41       );
    42 
     36      _CORE_barrier_Flush( &the_barrier->Barrier, NULL, 0 );
    4337      _Objects_Close( &_Barrier_Information, &the_barrier->Object );
    4438      _Objects_Put( &the_barrier->Object );
  • cpukit/score/include/rtems/score/corebarrierimpl.h

    r5cc6bf4 re781ddb  
    197197#define _CORE_barrier_Flush( \
    198198  the_barrier, \
    199   status, \
    200199  mp_callout, \
    201200  mp_id \
     
    204203    &( the_barrier )->Wait_queue, \
    205204    CORE_BARRIER_TQ_OPERATIONS, \
    206     status, \
     205    CORE_BARRIER_WAS_DELETED, \
    207206    mp_callout, \
    208207    mp_id \
Note: See TracChangeset for help on using the changeset viewer.