コード例 #1
0
 ConcurrentPriorityQueue(int initialCapacity)
 {
     __heap = new ConcurrentBinaryMinHeap <T>(initialCapacity);
     __numQueuedItemsLock = new object();
     NumQueuedItems       = 0L;
 }
コード例 #2
0
 ConcurrentPriorityQueue()
 {
     __heap = new ConcurrentBinaryMinHeap <T>();
     __numQueuedItemsLock = new object();
     NumQueuedItems       = 0L;
 }