fix(threads): add hint comments
This commit is contained in:
parent
b4f52cb937
commit
f99eafc56f
|
@ -1,5 +1,5 @@
|
|||
// threads1.rs
|
||||
// Make this compile and run! Execute 'rustlings hint threads1' for hints :)
|
||||
// Execute `rustlings hint threads1` or use the `hint` watch subcommand for a hint.
|
||||
// This program should wait until all the spawned threads have finished before exiting.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// threads2.rs
|
||||
// Make this compile! Execute `rustlings hint threads2` for hints :)
|
||||
// Execute `rustlings hint threads2` or use the `hint` watch subcommand for a hint.
|
||||
// Building on the last exercise, we want all of the threads to complete their work but this time
|
||||
// the spawned threads need to be in charge of updating a shared value: JobStatus.jobs_completed
|
||||
|
||||
|
|
Loading…
Reference in a new issue