Sha256: e7f67653b99329903a0e14d6fcd209acf492a8539071b2174204d401d679d590

Contents?: true

Size: 1.01 KB

Versions: 7

Compression:

Stored size: 1.01 KB

Contents

//! Thread-associated operations.

#[cfg(not(target_os = "redox"))]
mod clock;
#[cfg(linux_raw)]
mod futex;
#[cfg(any(target_os = "android", target_os = "linux"))]
mod id;
#[cfg(any(target_os = "android", target_os = "linux"))]
mod prctl;
#[cfg(any(target_os = "android", target_os = "linux"))]
mod setns;

#[cfg(not(any(
    target_os = "dragonfly",
    target_os = "emscripten",
    target_os = "freebsd",
    target_os = "haiku",
    target_os = "ios",
    target_os = "macos",
    target_os = "openbsd",
    target_os = "redox",
    target_os = "wasi",
)))]
pub use clock::{clock_nanosleep_absolute, clock_nanosleep_relative, ClockId};
#[cfg(not(target_os = "redox"))]
pub use clock::{nanosleep, NanosleepRelativeResult, Timespec};
#[cfg(linux_raw)]
pub use futex::{futex, FutexFlags, FutexOperation};
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use id::gettid;
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use prctl::*;
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use setns::*;

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wasmtime-8.0.0 ./ext/cargo-vendor/rustix-0.36.12/src/thread/mod.rs
wasmtime-7.0.0 ./ext/cargo-vendor/rustix-0.36.11/src/thread/mod.rs
wasmtime-6.0.1 ./ext/cargo-vendor/rustix-0.36.8/src/thread/mod.rs
wasmtime-6.0.0 ./ext/cargo-vendor/rustix-0.36.8/src/thread/mod.rs
wasmtime-5.0.0 ./ext/cargo-vendor/rustix-0.36.7/src/thread/mod.rs
wasmtime-0.4.1 ./ext/cargo-vendor/rustix-0.36.5/src/thread/mod.rs
wasmtime-0.4.0 ./ext/cargo-vendor/rustix-0.36.5/src/thread/mod.rs