From 991bd8ceb7c3c8f6500ed5701c89eadb442860fe Mon Sep 17 00:00:00 2001 From: Frances Wingerter <91758128+fw-immunant@users.noreply.github.com> Date: Tue, 13 Aug 2024 14:28:08 +0000 Subject: [PATCH] threads: do not refer to "daemon" threads (#2282) This is the last remaining fix left from #63. --- src/concurrency/threads/plain.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/concurrency/threads/plain.md b/src/concurrency/threads/plain.md index 286e0bc3..0e9150a7 100644 --- a/src/concurrency/threads/plain.md +++ b/src/concurrency/threads/plain.md @@ -25,7 +25,8 @@ fn main() { } ``` -- Threads are all daemon threads, the main thread does not wait for them. +- Spawning new threads does not automatically delay program termination at the + end of `main`. - Thread panics are independent of each other. - Panics can carry a payload, which can be unpacked with `downcast_ref`.