Struct mmtk::scheduler::WorkerGroup[][src]

pub struct WorkerGroup<C: Context> {
    pub workers: Vec<Worker<C>>,
}

Fields

workers: Vec<Worker<C>>

Implementations

impl<C: Context> WorkerGroup<C>[src]

pub fn new(workers: usize, scheduler: Weak<Scheduler<C>>) -> Arc<Self>[src]

pub fn worker_count(&self) -> usize[src]

pub fn parked_workers(&self) -> usize[src]

pub fn all_parked(&self) -> bool[src]

pub fn spawn_workers(&'static self, tls: OpaquePointer, context: &'static C)[src]

Auto Trait Implementations

impl<C> !RefUnwindSafe for WorkerGroup<C>

impl<C> Send for WorkerGroup<C>

impl<C> Sync for WorkerGroup<C>

impl<C> Unpin for WorkerGroup<C>

impl<C> !UnwindSafe for WorkerGroup<C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.