Home
last modified time | relevance | path

Searched defs:waker (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Datomic_waker.rs22 waker: RefCell<Option<Waker>>, field
56 let waker = self.waker.borrow_mut().take().unwrap(); in register_by_ref() localVariable
79 let waker = self.waker.borrow_mut().take(); in take_waker() localVariable
H A Doneshot.rs418 waker: AtomicWaker, field
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Dtask_handle.rs118 let waker = self.inner().waker.get(); in set_waker_inner() localVariable
124 let waker = self.inner().waker.get(); in set_waker_inner() localVariable
135 let waker = self.inner().waker.get(); in set_waker() localVariable
186 let waker = WakerRefHeader::<'_>::new::<T>(self.header()); in run() localVariable
288 let waker = WakerRefHeader::<'_>::new::<T>(self.header()); in ffrt_run() localVariable
H A Dwaker.rs70 waker: ManuallyDrop<Waker>, field
79 let waker = unsafe { ManuallyDrop::new(Waker::from_raw(raw_waker::<T>(header))) }; in new() localVariable
H A Djoin_set.rs66 waker: Option<Waker>, field
183 let waker = entry_into_waker(&entry); in spawn_inner() localVariable
305 let waker = entry_into_waker(&entry); in poll_join_next() localVariable
H A Draw.rs269 let waker = self.waker.get(); in wake_join() localVariable
313 let waker = &*(waker.cast::<Waker>()); in set_waker() localVariable
H A Dmod.rs22 mod waker; module
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/
H A Dlib.rs43 mod waker; module
H A Dwaker.rs49 let waker = Waker::new(&poll, Token::from_usize(0)).unwrap(); in ut_waker_debug_info() localVariable
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dmod.rs53 mod waker; module
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dmod.rs45 mod waker; module
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dblock_on.rs65 pub(crate) fn waker(&self) -> Waker { in waker() method
100 let waker = parker.waker(); in block_on() localVariable
H A Dcurrent_thread.rs203 fn waker(parker: Arc<Parker>) -> Waker { in waker() function
279 let waker = waker(parker.clone()); in block_on() localVariable
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/ffrt/
H A Dffrt_timer.rs26 let waker = data as *mut Waker; in timer_register() localVariable
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
H A Dsleep.rs145 let waker = Box::new(cx.waker().clone()); localVariable
H A Dwheel.rs51 waker: Option<Waker>, field
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Ddriver.rs199 let waker = ylong_io::Waker::new(&poll, WAKE_TOKEN) in initialize() localVariable
H A Dschedule_io.rs63 waker: Option<Waker>, field
/ohos5.0/base/msdp/device_status/rust/modules/scheduler/sys/src/
H A Dscheduler.rs70 waker: Option<Waker>, field