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