Fix generation race condition with sync storage (#2638)

* Fix generation race condition with sync storage

* Document GenerationalPointer

* check generation before recycling generational box

* fix clippy

* make race_condition_regression test panic if it fails
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-07-23 10:30:57 -07:00
1 parent 672f4dfefc
commit c7c0f4481a
13 files changed
+766 -675

No files matched your search

-2
View File
@@ -17,8 +17,6 @@ rand = "0.8.5"
criterion = "0.3"
[features]
default = ["check_generation"]
check_generation = []
debug_borrows = []
debug_ownership = []