Home
last modified time | relevance | path

Searched defs:ThreadWaker (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/tokio-test/src/
Dtask.rs38 struct ThreadWaker { struct
39 state: Mutex<usize>,
40 condvar: Condvar,
175 impl ThreadWaker { impl
225 unsafe fn from_raw(raw: *const ()) -> Arc<ThreadWaker> { in from_raw()
226 Arc::from_raw(raw as *const ThreadWaker) in from_raw() constant
/aosp_15_r20/external/bazelbuild-rules_rust/test/rustfmt/srcs/2018/
H A Dunformatted.rs3 struct ThreadWaker(Thread); struct
4 impl Wake for ThreadWaker {fn wake(self: Arc<Self>) {self.0.unpark();}} in wake() implementation
H A Dformatted.rs7 struct ThreadWaker(Thread); struct
9 impl Wake for ThreadWaker { implementation