in reply to Re^3: how can I detach a thread from another or how can I set a timer for a thread?
in thread how can I detach a thread from another or how can I set a timer for a thread?
Yes, the difference is whether or not you care about the final status (return code, etc.) of the thread. If you do, it sits as a sort of “zombie” until you join it. (The zombie status exists so that you can rendezvous without encountering race-conditions etc. ...) If you don’t care, you can just detach the thread and it will perish on its own.