Ejemplo n.º 1
0
 public void Add(ThreadStatistics threadStatistics)
 {
     lock (syncRoot)
     {
         childs.Add(threadStatistics);
     }
 }
Ejemplo n.º 2
0
 public void Remove(ThreadStatistics threadStatistics)
 {
     lock (syncRoot)
     {
         childs.Remove(threadStatistics);
         processedInFolders += threadStatistics.ProcessedCount;
     }
 }