[][src]Trait debra_common::LocalAccess

pub trait LocalAccess where
    Self: Clone + Copy + Sized
{ type Reclaimer: Reclaim; fn is_active(self) -> bool;
fn set_active(self);
fn set_inactive(self);
fn retire_record(self, record: Retired<Self::Reclaimer>); }

A trait for abstracting over different ways for accessing thread local state.

Associated Types

type Reclaimer: Reclaim

The concrete reclamation scheme type.

Loading content...

Required methods

fn is_active(self) -> bool

Returns true if the current thread is already active.

fn set_active(self)

Marks the associated thread as active.

fn set_inactive(self)

Marks the associated thread as inactive.

fn retire_record(self, record: Retired<Self::Reclaimer>)

Retires an unlinked record in the local cache.

Loading content...

Implementors

Loading content...