Beispiel #1
0
 public void Add(IThreadable th)
 {
     if (bTerminating)
     {
         throw new Exception();
     }
     th.m_ThreadMan = this;
     th.Start();
     lock (ar)
         ar.Add(th);
 }
Beispiel #2
0
 internal void Remove(IThreadable th)
 {
     lock (ar)
         ar.Remove(th);
 }