Closed ohhmm closed 6 years ago
What do you suggest as behavior?
Call thread::join is good, do not interrupt. If there is some need in interrupting then better to expose interrupt method. Optional timeout parameter for join may be used to make possible to join first.
Ok, I will add interrupt
and join_and_interrupt
.