public BlockingCollection(IProducerConsumerCollection <T> collection, int boundedCapacity) { this.underlyingColl = collection; this.upperBound = boundedCapacity; this.isComplete = new AtomicBoolean(); }
public bool Equals(AtomicBoolean rhs) { return(this.flag == rhs.flag); }