Ignore:
Timestamp:
Sep 19, 1995, 9:44:33 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c896e8d
Parents:
d434b8d6
Message:

Modifications from Tony Bennett accepted to tune this test a little.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/mptests/mp14/smtask1.c

    rd434b8d6 r2122a0b  
    4141      break;
    4242    puts( "rtems_semaphore_ident FAILED!!" );
     43    rtems_task_wake_after(2);
    4344  }
    4445
     46  yield_count = 100;
     47
    4548  while ( Stop_Test == FALSE ) {
    46     yield_count = 100;
    4749
    4850    for ( count=SEMAPHORE_DOT_COUNT ; Stop_Test == FALSE && count ; count-- ) {
     
    5759      directive_failed( status, "rtems_semaphore_release" );
    5860
    59       if ( Multiprocessing_configuration.node == 1 && --yield_count == 0 ) {
    60         status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
    61         directive_failed( status, "rtems_task_wake_after" );
     61      if ( Stop_Test == FALSE )
     62        if ( Multiprocessing_configuration.node == 1 && --yield_count == 0 ) {
     63          status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
     64          directive_failed( status, "rtems_task_wake_after" );
    6265
    63         yield_count = 100;
    64       }
     66          yield_count = 100;
     67        }
    6568    }
    6669    put_dot( 's' );
Note: See TracChangeset for help on using the changeset viewer.