std/sys/sync/condvar/
mod.rs1cfg_select! {
2 any(
3 all(target_os = "windows", not(target_vendor="win7")),
4 target_os = "linux",
5 target_os = "android",
6 target_os = "freebsd",
7 target_os = "openbsd",
8 target_os = "dragonfly",
9 target_os = "fuchsia",
10 all(target_family = "wasm", target_feature = "atomics"),
11 target_os = "hermit",
12 ) => {
13 mod futex;
14 pub use futex::Condvar;
15 }
16 any(
17 target_family = "unix",
18 target_os = "teeos",
19 ) => {
20 mod pthread;
21 pub use pthread::Condvar;
22 }
23 all(target_os = "windows", target_vendor = "win7") => {
24 mod windows7;
25 pub use windows7::Condvar;
26 }
27 all(target_vendor = "fortanix", target_env = "sgx") => {
28 mod sgx;
29 pub use sgx::Condvar;
30 }
31 target_os = "solid_asp3" => {
32 mod itron;
33 pub use itron::Condvar;
34 }
35 target_os = "xous" => {
36 mod xous;
37 pub use xous::Condvar;
38 }
39 _ => {
40 mod no_threads;
41 pub use no_threads::Condvar;
42 }
43}