Home
last modified time | relevance | path

Searched refs:wake (Results 1 - 18 of 18) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dwaker.rs42 /// In Linux, `eventfd` is used to implement asynchronous wake-up. It is a
44 /// ensure wake-up reliability.
64 pub(crate) fn wake(&self) -> io::Result<()> {
72 _ => self.wake(),
82 /// In MacOs, kqueue with `EVFILT_USER` is used to implement asynchronous wake-up.
96 pub(crate) fn wake(&self) -> io::Result<()> {
97 self.selector.wake(self.token)
H A Dkqueue.rs136 /// before `Selector::wake`
150 pub fn wake(&self, token: Token) -> io::Result<()> { in wake() functions
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dcurrent_thread.rs99 let (mut park, mut wake) = (true, false); in park()
101 (park, wake) = self.park_on_driver(&mut driver); in park()
106 wake in park()
173 fn unpark(&self, wake: bool) { in unpark()
174 if wake { in unpark()
183 PARKED_ON_DRIVER => self.handle.wake(), in unpark()
196 PARKED_ON_DRIVER => self.handle.wake(), in unpark()
209 RawWakerVTable::new(clone, wake, wake_by_ref, drop);
221 fn wake(ptr: *const ()) { in wake() functions
285 let mut wake variables
[all...]
H A Ddriver_handle.rs47 pub(crate) fn wake(&self) {
49 self.io.waker.wake().unwrap_or_else(|e| panic!("ylong_io wake failed, error: {e}"));
93 self.wake();
H A Dblock_on.rs21 RawWakerVTable::new(clone, wake, wake_by_ref, drop);
33 fn wake(ptr: *const ()) { in wake() functions
H A Dparker.rs172 PARKED_ON_DRIVER => handle.wake(), in unpark()
H A Dworker.rs48 waker.wake();
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Datomic_waker.rs58 waker.wake();
70 pub(crate) fn wake(&self) {
72 waker.wake();
H A Doneshot.rs177 self.channel.waker.wake(); in send()
218 self.channel.waker.wake(); in drop()
/commonlibrary/rust/ylong_runtime/ylong_io/src/
H A Dwaker.rs31 pub fn wake(&self) -> io::Result<()> { in wake() functions
32 self.inner.wake() in wake()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Dwaker.rs42 unsafe fn wake(ptr: *const ()) { in wake() functions
65 let raw_waker_ref = &RawWakerVTable::new(clone::<T>, wake, wake_by_ref, drop); in raw_waker()
H A Djoin_set.rs65 // Waker of JoinSet, a ready task will wake the JoinSet it belongs to
133 waker.wake(); in wake_by_ref()
H A Draw.rs345 task_handle.wake(); in schedule()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dwaker.rs36 pub(crate) fn wake(&self) -> io::Result<()> {
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
H A Ddriver.rs83 .wake();
125 .wake();
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/bounded/
H A Darray.rs112 self.rx_waker.wake();
193 self.rx_waker.wake(); in close()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Ddriver.rs190 io.wake(ready) in dispatch()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/unbounded/
H A Dqueue.rs147 self.rx_waker.wake(); in send_inner()
239 self.rx_waker.wake(); in close()

Completed in 7 milliseconds