public ProdConsSyncBuffer(MpiHandler communicator, int bufferSize) : base(communicator) { Internals = new ProdConsInternals <T>() { N = bufferSize, Buffer = new List <T>(), Full = new ConditionalVar() { WaitingQueue = new List <int>(), Name = "Full" }, Empty = new ConditionalVar() { WaitingQueue = new List <int>(), Name = "Empty" } }; }
public TestMonitor(MpiHandler communicator) : base(communicator) { Internals = 0; }
protected Monitor(MpiHandler communicator) { Communicator = communicator; _syncEntryNumber = 0; }