pub struct HP;
Expand description
Hazard Pointer based reclamation scheme.
Trait Implementations§
Source§impl GlobalReclaim for HP
impl GlobalReclaim for HP
Source§type Guard = Guard<DefaultAccess>
type Guard = Guard<DefaultAccess>
The type used for protecting concurrently shared references.
Source§unsafe fn retire<T: 'static, N: Unsigned>(unlinked: Unlinked<T, N>)
unsafe fn retire<T: 'static, N: Unsigned>(unlinked: Unlinked<T, N>)
Retires a record and caches it at least until it is safe to
deallocate it. Read more
Source§impl Ord for HP
impl Ord for HP
Source§impl PartialOrd for HP
impl PartialOrd for HP
Source§impl Reclaim for HP
impl Reclaim for HP
Source§type RecordHeader = ()
type RecordHeader = ()
Every record allocates this type alongside itself to store additional
reclamation scheme specific data.
When no such data is required,
()
is the recommended choice.Source§unsafe fn retire_local<T: 'static, N: Unsigned>(
local: &Self::Local,
unlinked: Unlinked<T, N>,
)
unsafe fn retire_local<T: 'static, N: Unsigned>( local: &Self::Local, unlinked: Unlinked<T, N>, )
Retires a record and caches it at least until it is safe to
deallocate it. Read more
impl Copy for HP
impl Eq for HP
impl StructuralPartialEq for HP
Auto Trait Implementations§
impl Freeze for HP
impl RefUnwindSafe for HP
impl Send for HP
impl Sync for HP
impl Unpin for HP
impl UnwindSafe for HP
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more