Searched defs:ThreadWaker (Results 1 – 3 of 3) sorted by relevance
38 struct ThreadWaker { struct39 state: Mutex<usize>,40 condvar: Condvar,175 impl ThreadWaker { impl225 unsafe fn from_raw(raw: *const ()) -> Arc<ThreadWaker> { in from_raw()226 Arc::from_raw(raw as *const ThreadWaker) in from_raw() constant
3 struct ThreadWaker(Thread); struct4 impl Wake for ThreadWaker {fn wake(self: Arc<Self>) {self.0.unpark();}} in wake() implementation
7 struct ThreadWaker(Thread); struct9 impl Wake for ThreadWaker { implementation