1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-20 06:21:09 +02:00

threads: do not refer to "daemon" threads (#2282)

This is the last remaining fix left from #63.
This commit is contained in:
Frances Wingerter 2024-08-13 14:28:08 +00:00 committed by GitHub
parent f6a3c07ea3
commit 991bd8ceb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`.