Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalized and atomic staging utils #17701

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
98892ba
basic structure
ElliottjPierce Feb 5, 2025
de042ac
removed dead test
ElliottjPierce Feb 5, 2025
011dd43
added some utils
ElliottjPierce Feb 5, 2025
b151538
scoping functions
ElliottjPierce Feb 5, 2025
57f2500
removed maybe locked
ElliottjPierce Feb 5, 2025
4001876
dedupe code
ElliottjPierce Feb 5, 2025
024b1e1
locked scope
ElliottjPierce Feb 5, 2025
4574bd2
clone for ref
ElliottjPierce Feb 5, 2025
33374f3
Arcs
ElliottjPierce Feb 5, 2025
068cc8d
generalized stage locking
ElliottjPierce Feb 6, 2025
1ad1c4a
Separate atomic operations
ElliottjPierce Feb 6, 2025
92b5c79
rename
ElliottjPierce Feb 6, 2025
b2e89de
redid with a focus on non-atomic
ElliottjPierce Feb 6, 2025
dc0fccf
implemented atomic stage on write
ElliottjPierce Feb 6, 2025
b2a0855
docs pass
ElliottjPierce Feb 6, 2025
b6d1a24
constructors
ElliottjPierce Feb 6, 2025
1952035
more docs
ElliottjPierce Feb 6, 2025
a452de0
basic test example
ElliottjPierce Feb 6, 2025
7bd0695
deadlocking warnings
ElliottjPierce Feb 6, 2025
5fa5d58
module docs
ElliottjPierce Feb 6, 2025
296ed03
rename to just staging
ElliottjPierce Feb 6, 2025
026c0ea
fixed no_std hopefully
ElliottjPierce Feb 6, 2025
364165c
moved to platform_support
ElliottjPierce Feb 6, 2025
b3267db
More granular alloc feature cfgs
ElliottjPierce Feb 6, 2025
6d45061
More great suggestions from bushrat
ElliottjPierce Feb 6, 2025
94d0655
cleaned up from review
ElliottjPierce Feb 6, 2025
885014c
tiny docs clarification
ElliottjPierce Feb 6, 2025
c96660a
Clear poison instead of crashing
ElliottjPierce Feb 6, 2025
9e48a80
moved back to bevy_utils lol
ElliottjPierce Feb 6, 2025
1794045
mostly working example
ElliottjPierce Feb 6, 2025
7be807c
finished example
ElliottjPierce Feb 6, 2025
0d2990a
better docs
ElliottjPierce Feb 6, 2025
18c4ab2
fixed docs
ElliottjPierce Feb 6, 2025
3660a57
implemented StagableWritesCore
ElliottjPierce Feb 6, 2025
08cba28
finished StagableWritesCore
ElliottjPierce Feb 6, 2025
34160b4
Alert for deadlocks with unsafe
ElliottjPierce Feb 6, 2025
472b1c2
improved deadlock prevention
ElliottjPierce Feb 6, 2025
2e50c5f
impl StagableWrites
ElliottjPierce Feb 6, 2025
10c1857
use RefStageOnWrite internally
ElliottjPierce Feb 6, 2025
0576c69
fixed docs
ElliottjPierce Feb 6, 2025
69b7ca8
docs pass
ElliottjPierce Feb 7, 2025
fd858d5
module level docs
ElliottjPierce Feb 7, 2025
23f2f71
default for arc
ElliottjPierce Feb 7, 2025
acba828
clean up and polish
ElliottjPierce Feb 7, 2025
944bafe
fixed docs
ElliottjPierce Feb 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/bevy_utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub mod prelude {
pub use crate::default;
}

pub mod staging;
pub mod synccell;
pub mod syncunsafecell;

Expand Down
Loading
Loading