We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
thread::scoped::JoinGuard
1 parent 7cf00d4 commit 650d245Copy full SHA for 650d245
src/leaking.md
@@ -176,6 +176,12 @@ horribly degenerate. Also *oh my gosh* it's such a ridiculous corner case.
176
177
## thread::scoped::JoinGuard
178
179
+> Note: This API has already been removed from std, for more information
180
+> you may refer [issue #24292](https://github.com/rust-lang/rust/issues/24292).
181
+>
182
+> We still remain this chapter here because we think this example is still
183
+> important, regardless of if it is still in std.
184
+
185
The thread::scoped API intended to allow threads to be spawned that reference
186
data on their parent's stack without any synchronization over that data by
187
ensuring the parent joins the thread before any of the shared data goes out
0 commit comments