Example #1
0
 public IntegersConsumer(int consumerRank, ProdConsSyncBuffer <int> buffer)
 {
     _buffer = buffer;
     _rank   = consumerRank;
 }
Example #2
0
 public IntegersProducer(int producerRank, ProdConsSyncBuffer <int> buffer)
 {
     _buffer = buffer;
     _rank   = producerRank;
 }