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