We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb39c49 commit 20b9129Copy full SHA for 20b9129
src/libstd/thread/mod.rs
@@ -101,7 +101,9 @@
101
//! ## Blocking support: park and unpark
102
//!
103
//! Every thread is equipped with some basic low-level blocking support, via the
104
-//! `park` and `unpark` functions.
+//! `thread::park()` function and `thread::Thread::unpark()` method. `park()`
105
+//! blocks the current thread, which can then be resumed from another thread by
106
+//! calling the `unpark()` method on the blocked thread's handle.
107
108
//! Conceptually, each `Thread` handle has an associated token, which is
109
//! initially not present:
0 commit comments