State commit

This commit is contained in:
Nadja Reitzenstein
2022-02-14 17:38:48 +01:00
parent 03ff3fcf86
commit b543b3b80d
5 changed files with 19 additions and 3 deletions

View File

@ -31,6 +31,7 @@ pub mod load_balancer;
pub mod placement;
pub mod pool;
pub mod run;
pub mod manage;
mod thread_manager;
mod worker;

View File

@ -39,6 +39,7 @@ impl Spooler<'_> {
}
#[derive(Clone, Debug)]
/// Global executor
pub struct Executor<'a> {
spooler: Arc<Spooler<'a>>,
}
@ -220,4 +221,4 @@ fn schedule_local() -> impl Fn(LightProc) {
// We have to unpark the worker thread for our task to be run.
unparker.unpark();
}
}
}