From 7ae5b7bd4f93612f91ab504ffb63aa8241c1d7bb Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Tue, 22 Sep 2020 15:40:44 -0700 Subject: signal: move driver to runtime thread (#2835) Refactors the signal infrastructure to move the driver to the runtime thread. This follows the model put forth by the I/O driver and time driver. --- benches/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'benches/Cargo.toml') diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 3a90943f..cca0ece5 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -8,6 +8,9 @@ edition = "2018" tokio = { version = "0.3.0", path = "../tokio", features = ["full"] } bencher = "0.1.5" +[target.'cfg(unix)'.dependencies] +libc = "0.2.42" + [[bench]] name = "spawn" path = "spawn.rs" @@ -33,3 +36,8 @@ harness = false name = "sync_semaphore" path = "sync_semaphore.rs" harness = false + +[[bench]] +name = "signal" +path = "signal.rs" +harness = false -- cgit v1.2.3