Add Freeze
type and use it to store Definitions
This commit is contained in:
parent
9dc11a13fa
commit
0c96a9260b
6 changed files with 122 additions and 15 deletions
|
@ -61,6 +61,9 @@ pub use vec::{AppendOnlyIndexVec, AppendOnlyVec};
|
|||
|
||||
mod vec;
|
||||
|
||||
mod freeze;
|
||||
pub use freeze::{Freeze, FreezeReadGuard, FreezeWriteGuard};
|
||||
|
||||
mod mode {
|
||||
use super::Ordering;
|
||||
use std::sync::atomic::AtomicU8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue