summaryrefslogtreecommitdiff
path: root/src/sys/pthread.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2021-09-04 10:47:54 -0600
committerAlan Somers <asomers@gmail.com>2021-09-04 11:44:17 -0600
commitb6f7da61d879c67111e179a261149678d73e266f (patch)
treebecb2a500fc62e799e28b34eafee39efefc1163d /src/sys/pthread.rs
parent39c63662ed910763b0ccc02473121f12517d1f42 (diff)
downloadnix-b6f7da61d879c67111e179a261149678d73e266f.zip
Document more things
Also, test rustdoc in CI, and demote missing_docs from a deny to a warning (but still deny it in CI).
Diffstat (limited to 'src/sys/pthread.rs')
-rw-r--r--src/sys/pthread.rs3
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