Home
last modified time | relevance | path

Searched refs:Condvar (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/rustix/tests/net/
Dv6.rs11 use std::sync::{Arc, Condvar, Mutex};
16 fn server(ready: Arc<(Mutex<u16>, Condvar)>) { in server() argument
49 fn client(ready: Arc<(Mutex<u16>, Condvar)>) { in client() argument
78 let ready = Arc::new((Mutex::new(0_u16), Condvar::new())); in test_v6()
Dv4.rs11 use std::sync::{Arc, Condvar, Mutex};
16 fn server(ready: Arc<(Mutex<u16>, Condvar)>) { in server() argument
45 fn client(ready: Arc<(Mutex<u16>, Condvar)>) { in client() argument
69 let ready = Arc::new((Mutex::new(0_u16), Condvar::new())); in test_v4()
Dunix.rs25 use std::sync::{Arc, Condvar, Mutex};
30 fn server(ready: Arc<(Mutex<bool>, Condvar)>, path: &Path) { in server() argument
72 fn client(ready: Arc<(Mutex<bool>, Condvar)>, path: &Path, runs: &[(&[&str], i32)]) { in client() argument
117 let ready = Arc::new((Mutex::new(false), Condvar::new())); in test_unix()
Dpoll.rs10 use std::sync::{Arc, Condvar, Mutex};
15 fn server(ready: Arc<(Mutex<u16>, Condvar)>) { in server() argument
61 fn client(ready: Arc<(Mutex<u16>, Condvar)>) { in client() argument
102 let ready = Arc::new((Mutex::new(0_u16), Condvar::new())); in test_poll()
/third_party/rust/crates/rustix/tests/io/
Depoll.rs11 use std::sync::{Arc, Condvar, Mutex};
16 fn server(ready: Arc<(Mutex<u16>, Condvar)>) { in server() argument
62 fn client(ready: Arc<(Mutex<u16>, Condvar)>) { in client() argument
87 let ready = Arc::new((Mutex::new(0_u16), Condvar::new())); in test_epoll()