diff options
| author | platformer <andrewsenth@gmail.com> | 2022-12-26 02:25:43 -0600 |
|---|---|---|
| committer | platformer <andrewsenth@gmail.com> | 2022-12-26 02:25:43 -0600 |
| commit | 7e4ce386816a380e66dca482c57349cd1a049aeb (patch) | |
| tree | 4155be164840c72058a50b659648b2e98a473824 /info.toml | |
| parent | 32b234c9f0de2f63f905d461639d9f7ed94776bc (diff) | |
fix(threads1): make program panic if threads are not joined
closes #1298
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -969,7 +969,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 """ |
