From 3075e1c0274a065c363a2a66650a207fa9efd7bb Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Thu, 23 Jun 2022 17:28:41 +0200 Subject: [PATCH] Get started on supervision trees --- Cargo.lock | 1 - runtime/executor/Cargo.toml | 1 - runtime/executor/src/lib.rs | 1 + runtime/executor/src/supervision.rs | 3 +++ 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 runtime/executor/src/supervision.rs diff --git a/Cargo.lock b/Cargo.lock index 6932cc5..6def150 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1128,7 +1128,6 @@ dependencies = [ "parking_lot", "pin-utils", "rand", - "slab", "tracing", "tracing-subscriber", ] diff --git a/runtime/executor/Cargo.toml b/runtime/executor/Cargo.toml index 85c6df6..be7e348 100644 --- a/runtime/executor/Cargo.toml +++ b/runtime/executor/Cargo.toml @@ -39,7 +39,6 @@ lazy_static = "1.4" libc = "0.2" num_cpus = "1.13" pin-utils = "0.1.0" -slab = "0.4" parking_lot = "0.12" # Allocator diff --git a/runtime/executor/src/lib.rs b/runtime/executor/src/lib.rs index c3d71fa..96024ea 100644 --- a/runtime/executor/src/lib.rs +++ b/runtime/executor/src/lib.rs @@ -32,6 +32,7 @@ pub mod manage; pub mod placement; pub mod pool; pub mod run; +mod supervision; mod thread_manager; mod worker; diff --git a/runtime/executor/src/supervision.rs b/runtime/executor/src/supervision.rs new file mode 100644 index 0000000..9694c84 --- /dev/null +++ b/runtime/executor/src/supervision.rs @@ -0,0 +1,3 @@ +pub(crate) struct SupervisionRegistry {} + +impl SupervisionRegistry {}