mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-20 09:23:11 +02:00
threads: do not refer to "daemon" threads (#2282)
This is the last remaining fix left from #63.
This commit is contained in:
parent
f6a3c07ea3
commit
991bd8ceb7
@ -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.
|
- Thread panics are independent of each other.
|
||||||
- Panics can carry a payload, which can be unpacked with `downcast_ref`.
|
- Panics can carry a payload, which can be unpacked with `downcast_ref`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user