1//! Thread-associated operations.
2
3#[cfg(not(target_os = "redox"))]
4mod clock;
5#[cfg(linux_kernel)]
6mod futex;
7#[cfg(linux_kernel)]
8mod id;
9#[cfg(linux_kernel)]
10mod libcap;
11#[cfg(linux_kernel)]
12mod prctl;
13#[cfg(linux_kernel)]
14mod setns;
15
16#[cfg(not(target_os = "redox"))]
17pub use clock::*;
18#[cfg(linux_kernel)]
19pub use futex::{futex, FutexFlags, FutexOperation};
20#[cfg(linux_kernel)]
21pub use id::{
22 gettid, set_thread_gid, set_thread_groups, set_thread_res_gid, set_thread_res_uid,
23 set_thread_uid, Gid, Pid, RawGid, RawPid, RawUid, Uid,
24};
25#[cfg(linux_kernel)]
26pub use libcap::{capabilities, set_capabilities, CapabilityFlags, CapabilitySets};
27#[cfg(linux_kernel)]
28pub use prctl::*;
29#[cfg(linux_kernel)]
30pub use setns::*;
31