When I spawn a thread in Rust, I get a JoinHandle, which is good for... joining (a blocking operation), and not much else. How can I check if a ch
spawn
JoinHandle
I think Arc can be used to solve this problem If the thread exits, the reference counter is reduced by one