From b2167c363c0952ca305a4d9efa2b3774281303b4 Mon Sep 17 00:00:00 2001 From: Avril Date: Wed, 12 May 2021 03:58:29 +0100 Subject: [PATCH] remove useless failed expreiment SharedInitialiser --- src/ext/sync.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ext/sync.rs b/src/ext/sync.rs index ac5f538..7dbd623 100644 --- a/src/ext/sync.rs +++ b/src/ext/sync.rs @@ -5,6 +5,9 @@ use std::sync::atomic::AtomicBool; use std::mem::MaybeUninit; use std::cell::UnsafeCell; +// This was a failure. Just use `tokio::sync::oneshot`... + +/* #[derive(Debug)] struct SharedInitialiser { @@ -95,3 +98,4 @@ impl SharedInitRx Arc::strong_count(&self.0.data) == 2 } } +*/