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 = "motor",
10 target_os = "fuchsia",
11 all(target_family = "wasm", target_feature = "atomics"),
12 target_os = "hermit",
13 all(target_os = "wasi", target_env = "p3"),
14 ) => {
15 mod futex;
16 pub use futex::Condvar;
17 }
18 any(
19 target_family = "unix",
20 target_os = "teeos",
21 ) => {
22 mod pthread;
23 pub use pthread::Condvar;
24 }
25 all(target_os = "windows", target_vendor = "win7") => {
26 mod windows7;
27 pub use windows7::Condvar;
28 }
29 all(target_vendor = "fortanix", target_env = "sgx") => {
30 mod sgx;
31 pub use sgx::Condvar;
32 }
33 target_os = "solid_asp3" => {
34 mod itron;
35 pub use itron::Condvar;
36 }
37 target_os = "xous" => {
38 mod xous;
39 pub use xous::Condvar;
40 }
41 _ => {
42 mod no_threads;
43 pub use no_threads::Condvar;
44 }
45}