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