Skip to content

Commit 991bd8c

Browse files
authored
threads: do not refer to "daemon" threads (#2282)
This is the last remaining fix left from #63.
1 parent f6a3c07 commit 991bd8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/concurrency/threads/plain.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ fn main() {
2525
}
2626
```
2727

28-
- Threads are all daemon threads, the main thread does not wait for them.
28+
- Spawning new threads does not automatically delay program termination at the
29+
end of `main`.
2930
- Thread panics are independent of each other.
3031
- Panics can carry a payload, which can be unpacked with `downcast_ref`.
3132

0 commit comments

Comments
 (0)