diff --git a/tokio-executor/src/park.rs b/tokio-executor/src/park.rs index 4f278fdd3..3bbebab80 100644 --- a/tokio-executor/src/park.rs +++ b/tokio-executor/src/park.rs @@ -133,6 +133,12 @@ impl Unpark for Box { } } +impl Unpark for Arc { + fn unpark(&self) { + (**self).unpark() + } +} + /// Blocks the current thread using a condition variable. /// /// Implements the [`Park`] functionality by using a condition variable. An