mod.rs - source
Description: Source of the Rust file `library/std/src/sys/sync/condvar/mod.rs`.

#
std/sys/sync/condvar/
mod.rs

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