summaryrefslogtreecommitdiff
path: root/info.toml
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2023-02-12 16:50:03 +0100
committerGitHub <noreply@github.com>2023-02-12 16:50:03 +0100
commit7be4fd891d70cb45a7516184746ed25d4201f44f (patch)
tree4e203ea736162ce7aadae8174201c2ba56f4439c /info.toml
parentb66e2e9b9516d57d058d48e87f268d973566a91f (diff)
parent7e4ce386816a380e66dca482c57349cd1a049aeb (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.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/info.toml b/info.toml
index 7418943..299d932 100644
--- a/info.toml
+++ b/info.toml
@@ -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
"""