Exemplo n.º 1
0
        internal void SynchronousPrepareBatches(Frame frame)
        {
            var context = new Batch.PrepareContext(PrepareManager, false, frame.BatchesToRelease);

            context.PrepareMany(frame.Batches);

            PrepareManager.AssertEmpty();
        }
Exemplo n.º 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);
        }