diff options
Diffstat (limited to 'src/sys/pthread.rs')
-rw-r--r-- | src/sys/pthread.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/pthread.rs b/src/sys/pthread.rs index 9163c8d1..d42e45d1 100644 --- a/src/sys/pthread.rs +++ b/src/sys/pthread.rs @@ -1,3 +1,5 @@ +//! Low level threading primitives + #[cfg(not(target_os = "redox"))] use crate::errno::Errno; #[cfg(not(target_os = "redox"))] @@ -6,6 +8,7 @@ use crate::Result; use crate::sys::signal::Signal; use libc::{self, pthread_t}; +/// Identifies an individual thread. pub type Pthread = pthread_t; /// Obtain ID of the calling thread (see |