summary refs log tree commit diff
path: root/library/std/src/sys_common/thread_parker/mod.rs
blob: 23c17c8e2cf26108e6049121c1d4ae61bbc192fa (plain)
1
2
3
4
5
6
7
8
9
cfg_if::cfg_if! {
    if #[cfg(any(target_os = "linux", target_os = "android"))] {
        mod futex;
        pub use futex::Parker;
    } else {
        mod generic;
        pub use generic::Parker;
    }
}