private void EpochIteration(OpenDM.Unit.Process.UpdateInstanceArgs e) { lock (__qlock) { epochData = e; } }
private void GenIteration(OpenDM.Unit.Process.UpdateInstanceArgs e) { lock (__qlock) { errorQueue.Enqueue(e); if (errorQueue.Count > MaxErrorLength) { errorQueue.Dequeue(); } } }