Re:How to think about `async`/`await` in Rust
by gpderetta on Wednesday July 05, 2023 @06:47AM
(#36598478)
Where exactly? Can you point me to the data race? Consider that the thread constructor call happens-before the thread start and the thread termination happens-before the join call returns.
[ Parent
| on HN ]
Re:How to think about `async`/`await` in Rust
by spacechild1 on Wednesday July 05, 2023 @07:27AM
(#36598799)
Ah sorry, I missed that you only spawn a single thread. Mea culpa!