summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/mod.rs
diff options
context:
space:
mode:
authorLucio Franco <luciofranco14@gmail.com>2020-09-23 14:35:10 -0400
committerGitHub <noreply@github.com>2020-09-23 14:35:10 -0400
commitf25f12d57638a2928b3f738b3b1392d8773e276e (patch)
tree04da3ba7022a42bf8d1d08a039fcc1fc2fc95313 /tokio/src/sync/mod.rs
parent0f70530ee7cda68b68f2f8131b5866cfa937ee1f (diff)
rt: Allow concurrent `block_on`'s with basic_scheduler (#2804)
Diffstat (limited to 'tokio/src/sync/mod.rs')
-rw-r--r--tokio/src/sync/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tokio/src/sync/mod.rs b/tokio/src/sync/mod.rs
index 1a584383..2e674136 100644
--- a/tokio/src/sync/mod.rs
+++ b/tokio/src/sync/mod.rs
@@ -457,6 +457,13 @@ cfg_sync! {
}
cfg_not_sync! {
+ cfg_rt_core! {
+ mod notify;
+ pub(crate) use notify::Notify;
+ }
+}
+
+cfg_not_sync! {
cfg_atomic_waker_impl! {
mod task;
pub(crate) use task::AtomicWaker;