Make EventLoopProxy Sync
Co-authored-by: daxpedda <daxpedda@gmail.com> Closes: #3448
This commit is contained in:
parent
e61a7320a2
commit
31f8b816bd
9 changed files with 26 additions and 13 deletions
|
|
@ -6,9 +6,9 @@ use std::task::Poll;
|
|||
use super::super::main_thread::MainThreadMarker;
|
||||
use super::{AtomicWaker, Wrapper};
|
||||
|
||||
pub struct WakerSpawner<T: 'static>(Wrapper<false, Handler<T>, Sender, usize>);
|
||||
pub struct WakerSpawner<T: 'static>(Wrapper<Handler<T>, Sender, usize>);
|
||||
|
||||
pub struct Waker<T: 'static>(Wrapper<false, Handler<T>, Sender, usize>);
|
||||
pub struct Waker<T: 'static>(Wrapper<Handler<T>, Sender, usize>);
|
||||
|
||||
struct Handler<T> {
|
||||
value: T,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue