struct Shared {
inject: Inject<Arc<Handle>>,
owned: OwnedTasks<Arc<Handle>>,
woken: AtomicBool,
config: Config,
scheduler_metrics: SchedulerMetrics,
worker_metrics: WorkerMetrics,
}
Expand description
Scheduler state shared between threads.
Fields§
§inject: Inject<Arc<Handle>>
Remote run queue
owned: OwnedTasks<Arc<Handle>>
Collection of all active tasks spawned onto this executor.
woken: AtomicBool
Indicates whether the blocked on thread was woken.
config: Config
Scheduler configuration options
scheduler_metrics: SchedulerMetrics
Keeps track of various runtime metrics.
worker_metrics: WorkerMetrics
This scheduler only has one worker.