Remove() private method

private Remove ( Thread t ) : void
t Thread
return void
Beispiel #1
0
 private void InternalRun()
 {
     _wrapperThread = this;
     try {
         _runnable.Run();
     } catch (Exception exception) {
         Console.WriteLine(exception);
     } finally {
         _tgroup.Remove(this);
     }
 }
Beispiel #2
0
 private void InternalRun()
 {
     _wrapperThread = this;
     try {
         _runnable.Run();
     } catch (Exception exception) {
         LogStream.GetInstance().WriteLine(exception);
     } finally {
         _tgroup.Remove(this);
     }
 }