예제 #1
0
        internal void SynchronousPrepareBatches(Frame frame)
        {
            var context = new Batch.PrepareContext(PrepareManager, false, frame.BatchesToRelease);

            context.PrepareMany(frame.Batches);

            PrepareManager.AssertEmpty();
        }
예제 #2
0
        internal void SynchronousPrepareBatches(Frame frame)
        {
            var context = new Batch.PrepareContext(PrepareManager, false);

            context.PrepareMany(ref frame.Batches);

            ThreadGroup.NotifyQueuesChanged();
            PrepareManager.AssertEmpty();
            frame.BatchesToRelease.AddRange(in context.BatchesToRelease);
        }