Searched refs:Condvar (Results 1 – 5 of 5) sorted by relevance
/third_party/rust/crates/rustix/tests/net/ |
D | v6.rs | 11 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()
|
D | v4.rs | 11 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()
|
D | unix.rs | 25 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()
|
D | poll.rs | 10 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/ |
D | epoll.rs | 11 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()
|