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