pub fn register(&self, waker: Waker) {
        self.object.branch();

        rt::execution(|execution| {
            self.sync.borrow_mut().sync_load(&mut execution.threads, Acquire);
        });

        *self.task.borrow_mut() = Some(waker);
    }
/// Registers the current task to be notified on calls to `wake`.
Registers the current task to be notified on calls to `wake`.
Registers the current task to be notified on calls to ` wake ` .
pub fn register(&self, waker: Waker) {
        self.object.branch();
        rt::execution(|execution| {
            self.sync.borrow_mut().sync_load(&mut execution.threads, Acquire);
        });
        *self.task.borrow_mut() = Some(waker);
    }
pub fn register ( & self , waker : Waker ) { self . object . branch ( ) ; rt :: execution ( | execution | { self . sync . borrow_mut ( ) . sync_load ( & mut execution . threads , Acquire ) ; } ) ; * self . task . borrow_mut ( ) = Some ( waker ) ; }
Registers the current task to be notified on calls to `wake`.
Registers the current task to be notified on calls to ` wake ` .
&self
waker
Waker
&self
waker
Waker