You should call exit instead of join. It will signal the thread to exit and then call join for you.
If you absolutely must call join, use rawJoin instead.
See Implementation
Disabled on December 30, 2021
You should call exit instead of join. It will signal the thread to exit and then call join for you.
If you absolutely must call join, use rawJoin instead.