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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.