diff options
| author | liv <mokou@fastmail.com> | 2023-09-04 13:46:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-04 13:46:28 +0200 |
| commit | 4de3b4a635e56181f50f8a74c8873b3da3c3105c (patch) | |
| tree | 54833849a2d3b31f622999749435a3ffd682b3c5 | |
| parent | 64162d3a24e6d7d56cca8d5662fe13f061316b8c (diff) | |
| parent | af76794627ac9252650c8d3ec41d9afe251ca5e5 (diff) | |
Merge pull request #1630 from gabay/chore/threads2-text
info.toml: update threads2 text.
| -rw-r--r-- | info.toml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1011,7 +1011,7 @@ and keep reading if you'd like more hints :) Do you now have an `Arc` `Mutex` `JobStatus` at the beginning of main? Like: `let status = Arc::new(Mutex::new(JobStatus { jobs_completed: 0 }));` Similar to the code in the example in the book that happens after the text -that says "We can use Arc<T> to fix this.". If not, give that a try! If you +that says "Sharing a Mutex<T> Between Multiple Threads". If not, give that a try! If you do and would like more hints, keep reading!! |
