Trait mmtk::scheduler::Context [−][src]
The global context for the whole scheduling system. This context is globally accessable for all work-packets, workers and the scheduler.
For mmtk, the global context is MMTK<VM>
.
Provided methods
fn spawn_worker(
worker: &'static Worker<Self>,
_tls: OpaquePointer,
context: &'static Self
)
[src]
worker: &'static Worker<Self>,
_tls: OpaquePointer,
context: &'static Self
)
Implementations on Foreign Types
impl Context for ()
[src]
A default implementation for scheduling systems that does not require a global context.
Implementors
impl<VM: VMBinding> Context for MMTK<VM>
[src]
The global context for mmtk is MMTK<VM>
.
fn spawn_worker(
worker: &GCWorker<VM>,
tls: OpaquePointer,
_context: &'static Self
)
[src]
worker: &GCWorker<VM>,
tls: OpaquePointer,
_context: &'static Self
)