mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-18 09:25:36 +00:00
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 New Issue
Block a user