Пример #1
0
 public void Publish(ChunkEvent e)
 {
     lock (monitor)
     {
         currentBucket.Enqueue(e);
     }
 }
Пример #2
0
 public void Pool(ChunkEvent e)
 {
     lock (pool)
     {
         pool.Push(e);
     }
 }