We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 033bf11 commit 30644c9Copy full SHA for 30644c9
exercises/threads/threads1.rs
@@ -1,7 +1,8 @@
1
// threads1.rs
2
// Make this compile! Execute `rustlings hint threads1` for hints :)
3
// The idea is the thread spawned on line 21 is completing jobs while the main thread is
4
-// monitoring progress until 10 jobs are completed. If you see 6 lines
+// monitoring progress until 10 jobs are completed. Because of the difference between the
5
+// spawned threads' sleep time, and the waiting threads sleep time, when you see 6 lines
6
// of "waiting..." and the program ends without timing out when running,
7
// you've got it :)
8
0 commit comments