1 2 3 4 5 6 7 8 9 10 11
//! Thread-associated operations.
#[cfg(any(target_os = "android", target_os = "linux"))]
mod id;
#[cfg(linux_raw)]
#[doc(hidden)]
pub mod tls;
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use id::gettid;
1 2 3 4 5 6 7 8 9 10 11
//! Thread-associated operations.
#[cfg(any(target_os = "android", target_os = "linux"))]
mod id;
#[cfg(linux_raw)]
#[doc(hidden)]
pub mod tls;
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use id::gettid;