Exemplo n.º 1
0
        public void Suspend()
        {
            //LogProvider.Log ("VM: Suspending ");

            vm.Suspend();
            if (VMSuspended != null)
            {
                var thread = vm.GetThreads().FirstOrDefault();
                //LogProvider.Log ("VM: thread " + thread.Name);
                if (thread != null)
                {
                    VMSuspended(new Event(Cache.Lookup <SdbThreadMirror> (thread)));
                }
            }
        }
Exemplo n.º 2
0
 public IList <ThreadMirror> GetThreads()
 {
     return(_vm.GetThreads());
 }