示例#1
0
 private void Join_if_ready(JoinBucket bucket, Action <List <object> > continueOnJoin)
 {
     if (bucket.Is_ready())
     {
         continueOnJoin(bucket.Join_inputs());
     }
 }
示例#2
0
 private void Enqueue(JoinBucket bucket, int inputIndex, object inputData)
 {
     if (bucket.Is_ready())
     {
         bucket.InputQueues[inputIndex].Dequeue();
     }
     bucket.InputQueues[inputIndex].Enqueue(inputData);
 }