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