Exemplo n.º 1
0
 protected internal override void destroyApp(bool unconditional)
 {
     this.m_beingDestroyed = true;
     while (this.m_gettingInput)
     {
         JThread.yield();
     }
     if (this.m_engine != null)
     {
         this.m_engine.end();
         this.m_engine = (AppEngine)null;
     }
     if (this.m_display != null)
     {
         this.m_display.setCurrent((Displayable)null);
         this.m_display = (Display)null;
     }
     this.notifyDestroyed();
 }
Exemplo n.º 2
0
 public AD7Thread(AD7Engine engine, JThread debuggedThread)
 {
     _engine = engine;
     _debuggedThread = debuggedThread;
     _vsTid = engine.RegisterThreadId(debuggedThread.Id);
 }