in reply to is_joinable question
main did not wait because is_joinable returned false, so you didn't join
if you want to wait for $thrHandle, simply join, join blocks, join waits until the thread over, until it is_joinable
Study this example Re^2: Thread parallel execution (joinable)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: is_joinable question
by anaconda_wly (Scribe) on Jun 04, 2013 at 06:03 UTC | |
by MidLifeXis (Monsignor) on Jun 04, 2013 at 13:06 UTC | |
by Anonymous Monk on Jun 05, 2013 at 06:03 UTC |