Changeset 8b2ecf85 in rtems for c/src/tests/mptests


Ignore:
Timestamp:
May 23, 1996, 3:37:38 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9854e336
Parents:
64b976a
Message:

updates from Tony Bennett

Location:
c/src/tests/mptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/mptests/mp07/task1.c

    r64b976a r8b2ecf85  
    7373
    7474  while ( Stop_Test == FALSE ) {
    75     for ( count=DOT_COUNT ; count ; count-- ) {
     75    for ( count=DOT_COUNT ; count && (Stop_Test == FALSE) ; count-- ) {
    7676      status = rtems_event_receive(
    7777        RTEMS_EVENT_16,
     
    9191    put_dot('.');
    9292  }
     93
     94  /*
     95   * Wait a bit before shutting down so we don't screw up the other node
     96   * when our MPCI shuts down
     97   */
     98
     99  rtems_task_wake_after(10);
     100
    93101  puts( "\n*** END OF TEST 7 ***" );
    94102  exit( 0 );
  • c/src/tests/mptests/mp14/exit.c

    r64b976a r8b2ecf85  
    2525  rtems_mode        old_mode;
    2626
     27  /*
     28   * Wait a bit before shutting down so we don't screw up the other node
     29   * when our MPCI shuts down
     30   */
     31 
     32  rtems_task_wake_after(20);
     33 
    2734  status = rtems_task_mode( RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &old_mode );
    2835  directive_failed( status, "rtems_task_mode" );
Note: See TracChangeset for help on using the changeset viewer.