|
|
|
|
|
by Tuna-Fish
1406 days ago
|
|
x is not used by the other thread, a is. > If the join handle is dropped, the spawned thread will implicitly joined at the end of the scope. "end of scope" here refers to the end of the closure, after the second thread is spawned. You can trivially show that the threads exist in parallel by adding waits. |
|