diff options
author | Lucio Franco <luciofranco14@gmail.com> | 2020-09-24 13:31:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 13:31:49 -0400 |
commit | 4dfbdbff7e260eb7f046a8dc91ec0c84ae7ab2e8 (patch) | |
tree | b9d06a17d8450f26d8cad8b9068a1ef7a981fafb /tokio/src/sync | |
parent | c29f13b7a5cc68fa2dfe52991d8b7497b2497725 (diff) |
rt: Allow concurrent `Shell:block_on` calls (#2868)
Diffstat (limited to 'tokio/src/sync')
-rw-r--r-- | tokio/src/sync/mod.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tokio/src/sync/mod.rs b/tokio/src/sync/mod.rs index 2e674136..88cc4b84 100644 --- a/tokio/src/sync/mod.rs +++ b/tokio/src/sync/mod.rs @@ -457,13 +457,9 @@ cfg_sync! { } cfg_not_sync! { - cfg_rt_core! { - mod notify; - pub(crate) use notify::Notify; - } -} + mod notify; + pub(crate) use notify::Notify; -cfg_not_sync! { cfg_atomic_waker_impl! { mod task; pub(crate) use task::AtomicWaker; |