예제 #1
0
 public void Publish(ChunkEvent e)
 {
     lock (monitor)
     {
         currentBucket.Enqueue(e);
     }
 }
예제 #2
0
 public void Pool(ChunkEvent e)
 {
     lock (pool)
     {
         pool.Push(e);
     }
 }