Skip to main content

Module freeze

Module freeze 

Source

Re-exportsยง

use std::cell::UnsafeCell; ๐Ÿ”’
use std::hint; ๐Ÿ”’
use std::marker::PhantomData; ๐Ÿ”’
use std::ops::Deref; ๐Ÿ”’
use std::ops::DerefMut; ๐Ÿ”’
use std::ptr::NonNull; ๐Ÿ”’
use std::sync::atomic::AtomicBool; ๐Ÿ”’
use std::sync::atomic::Ordering; ๐Ÿ”’
use crate::sync::DynSend; ๐Ÿ”’
use crate::sync::DynSync; ๐Ÿ”’
use crate::sync::ReadGuard; ๐Ÿ”’
use crate::sync::RwLock; ๐Ÿ”’
use crate::sync::WriteGuard; ๐Ÿ”’

Structsยง

FreezeLock
A type which allows mutation using a lock until the value is frozen and can be accessed lock-free.
FreezeReadGuard
A guard holding shared access to a FreezeLock which is in a locked state or frozen.
FreezeWriteGuard
A guard holding mutable access to a FreezeLock which is in a locked state or frozen.