diff options
| author | liv <mokou@fastmail.com> | 2023-02-12 16:50:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-12 16:50:03 +0100 |
| commit | 7be4fd891d70cb45a7516184746ed25d4201f44f (patch) | |
| tree | 4e203ea736162ce7aadae8174201c2ba56f4439c /info.toml | |
| parent | b66e2e9b9516d57d058d48e87f268d973566a91f (diff) | |
| parent | 7e4ce386816a380e66dca482c57349cd1a049aeb (diff) | |
Merge pull request #1305 from platformer/issue1298
fix(threads1): make program panic if threads are not joined
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -909,7 +909,7 @@ A challenge with multi-threaded applications is that the main thread can finish before the spawned threads are completed. https://doc.rust-lang.org/book/ch16-01-threads.html#waiting-for-all-threads-to-finish-using-join-handles -Collect the JoinHandles and wait for them to finish. +Use the JoinHandles to wait for each thread to finish and collect their results. https://doc.rust-lang.org/std/thread/struct.JoinHandle.html """ |
