Changeset eafd698 in rtems for cpukit/sapi/src/exinit.c


Ignore:
Timestamp:
Apr 9, 1997, 8:03:35 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
bbb846b
Parents:
113ef9fc
Message:

enhanced rtems_shutdown_executive to insure that no attempt will
be made to shut the system down when it is down.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/exinit.c

    r113ef9fc reafd698  
    291291)
    292292{
    293   _Thread_Stop_multitasking();
    294 }
     293  if ( _System_state_Current != SYSTEM_STATE_SHUTDOWN ) {
     294    _System_state_Set( SYSTEM_STATE_SHUTDOWN );
     295    _Thread_Stop_multitasking();
     296  }
     297}
Note: See TracChangeset for help on using the changeset viewer.