Closed
Conversation
| use bevy_utils::tracing::Instrument; | ||
| use fixedbitset::FixedBitSet; | ||
|
|
||
| /// Runs systems on a single thread. |
Member
There was a problem hiding this comment.
This needs to mention that the order still follows existing rules, and is not guaranteed to be stable.
| } | ||
| } | ||
|
|
||
| /// Runs systems on a single thread and immediately applies their commands. |
Member
There was a problem hiding this comment.
This should be cross-referenced with SingleThreadedRunner.
0173759 to
3ab5ce0
Compare
Contributor
Author
|
Closing this since I'm most likely going to make a new PR. I expect the RFC to be merged soon and I want to formalize a more collaborative effort and migration path given the number of PRs trying to make incremental progress. This one was basically a solo attempt, but we may decide to re-open it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
bevy_ecs::schedulewith the API outlined in Stageless: a complete scheduling overhaul rfcs#45Solution
Blocked On
&mut Worldas a system param and make.exclusive_system()optional #4166Closely Related
(Edit: Based on feedback, I think I'm going to split this into 2-3 PRs.)
bevy_ecs::schedule_v3module with the new stuff.bevy_*crates and examples over to the new API.bevy_ecs::schedule(and changeschedule_v3toschedule).Glossary
Systems and sets share a common builder API and they can all be ordered together.
Detailed Changelist
ReadOnlySystemParamFetch)Local<T>(TODO)bool(removedShouldRun)Systemsapply_system_bufferssystem to your app(broken by recent label changes)OnEnter(state)andOnExit(state)apply_state_transition::<State>system to your appPreview
Resolves
a lot of stuff
Follow-up Work