Remove() private method

private Remove ( Thread t ) : void
t Thread
return void
示例#1
0
 void InternalRun()
 {
     wrapperThread = this;
     try {
         Runnable.Run();
     } catch (Exception exception) {
         System.Diagnostics.Debug.WriteLine(exception);
     } finally {
         tgroup.Remove(this);
     }
 }
示例#2
0
 private void InternalRun()
 {
     wrapperThread = this;
     try {
         runnable.Run();
     } catch (Exception exception) {
         Console.WriteLine(exception);
     } finally {
         tgroup.Remove(this);
     }
 }
示例#3
0
 public virtual void  Run()
 {
     wrapperThread = this;
     try {
         runnable.Run();
     } catch (Exception exception) {
         Console.WriteLine(exception);
     } finally {
         tgroup.Remove(this);
     }
 }