ConcurrentPriorityQueue(int initialCapacity) { __heap = new ConcurrentBinaryMinHeap <T>(initialCapacity); __numQueuedItemsLock = new object(); NumQueuedItems = 0L; }
ConcurrentPriorityQueue() { __heap = new ConcurrentBinaryMinHeap <T>(); __numQueuedItemsLock = new object(); NumQueuedItems = 0L; }