Remove() private method

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