Package ui

Class ResetThread

All Implemented Interfaces:
Runnable

public class ResetThread extends Thread
This handles resetting from within S%MSQE. Basically, a "RESET" command from within SMSQE goes to the TrapDispatcher which in turn would call Monitor.reset() which kills the EmulationThread. As we're within SMSQE, i.e. within the emulation thread, that thread would just kill itself - so the program would just hang. Hence this little independent thread, wich calls Monitor.reset();
  • Constructor Details

    • ResetThread

      public ResetThread(Monitor mon)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread