Home
last modified time | relevance | path

Searched refs:park_timeout (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/crossbeam-utils/tests/
Dparker.rs13 p.park_timeout(Duration::from_millis(u32::MAX as u64)); in park_timeout_unpark_before()
21 p.park_timeout(Duration::from_millis(10)) in park_timeout_unpark_not_called()
37 p.park_timeout(Duration::from_millis(u32::MAX as u64)) in park_timeout_unpark_called_other_thread()
/external/rust/crates/tokio/src/park/
Deither.rs35 fn park_timeout(&mut self, duration: Duration) -> Result<(), Self::Error> { in park_timeout() function
37 Either::A(a) => a.park_timeout(duration).map_err(Either::A), in park_timeout()
38 Either::B(b) => b.park_timeout(duration).map_err(Either::B), in park_timeout()
Dthread.rs66 fn park_timeout(&mut self, duration: Duration) -> Result<(), Self::Error> { in park_timeout() method
67 self.inner.park_timeout(duration); in park_timeout()
127 fn park_timeout(&self, dur: Duration) { in park_timeout() method
285 fn park_timeout(&mut self, duration: Duration) -> Result<(), Self::Error> { in park_timeout() method
286 self.with_current(|park_thread| park_thread.inner.park_timeout(duration))?; in park_timeout()
Dmod.rs86 fn park_timeout(&mut self, duration: Duration) -> Result<(), Self::Error>; in park_timeout() method
/external/rust/crates/tokio/src/time/driver/
Dmod.rs221 self.park.park_timeout(Duration::from_secs(0))?; in park_internal()
226 self.park.park_timeout(duration)?; in park_internal()
229 self.park.park_timeout(Duration::from_secs(0))?; in park_internal()
235 self.park.park_timeout(Duration::from_secs(0))?; in park_internal()
238 self.park.park_timeout(duration)?; in park_internal()
401 fn park_timeout(&mut self, duration: Duration) -> Result<(), Self::Error> { in park_timeout() function
/external/rust/crates/tokio/src/process/unix/
Ddriver.rs83 fn park_timeout(&mut self, duration: Duration) -> Result<(), Self::Error> { in park_timeout() method
84 self.park.park_timeout(duration)?; in park_timeout()
/external/rust/crates/tokio/src/signal/unix/
Ddriver.rs155 fn park_timeout(&mut self, duration: Duration) -> Result<(), Self::Error> { in park_timeout() method
156 self.park.park_timeout(duration)?; in park_timeout()
/external/rust/crates/tokio/src/runtime/
Dpark.rs97 fn park_timeout(&mut self, duration: Duration) -> Result<(), Self::Error> { in park_timeout() method
102 driver.park_timeout(duration).map_err(|_| ()) in park_timeout()
Ddriver.rs201 fn park_timeout(&mut self, duration: Duration) -> Result<(), Self::Error> { in park_timeout() method
202 self.inner.park_timeout(duration) in park_timeout()
Denter.rs186 park.park_timeout(when - now)?;
Dbasic_scheduler.rs281 .park_timeout(Duration::from_millis(0)) in block_on()
/external/rust/crates/tokio/src/runtime/thread_pool/
Dworker.rs385 core = self.park_timeout(core, Some(Duration::from_millis(0))); in maintenance()
398 core = self.park_timeout(core, None); in park()
411 fn park_timeout(&self, mut core: Box<Core>, duration: Option<Duration>) -> Box<Core> { in park_timeout() method
420 park.park_timeout(timeout).expect("park failed"); in park_timeout()
/external/rust/crates/crossbeam-utils/src/sync/
Dparker.rs123 pub fn park_timeout(&self, timeout: Duration) { in park_timeout() method
/external/rust/crates/crossbeam-channel/src/
Dcontext.rs166 thread::park_timeout(end - now); in wait_until()
/external/rust/crates/tokio/src/io/driver/
Dmod.rs237 fn park_timeout(&mut self, duration: Duration) -> io::Result<()> { in park_timeout() method