Changeset b2b77956 in rtems


Ignore:
Timestamp:
Jul 20, 2009, 2:51:21 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
243596d
Parents:
eecd655
Message:

2009-07-20 Joel Sherrill <joel.sherrill@…>

  • score/src/corebarrierwait.c: Reverse order of tests to increase test coverage.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    reecd655 rb2b77956  
     12009-07-20      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * score/src/corebarrierwait.c: Reverse order of tests to increase test
     4        coverage.
     5
    162009-07-19      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/score/src/corebarrierwait.c

    reecd655 rb2b77956  
    6060  _ISR_Disable( level );
    6161  the_barrier->number_of_waiting_threads++;
    62   if ( the_barrier->number_of_waiting_threads ==
    63        the_barrier->Attributes.maximum_count) {
    64     if ( _CORE_barrier_Is_automatic( &the_barrier->Attributes ) ) {
     62  if ( _CORE_barrier_Is_automatic( &the_barrier->Attributes ) ) {
     63    if ( the_barrier->number_of_waiting_threads ==
     64         the_barrier->Attributes.maximum_count) {
    6565      executing->Wait.return_code = CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED;
    6666      _ISR_Enable( level );
Note: See TracChangeset for help on using the changeset viewer.