3 ms·
When you return from main(), there shouldn't be any child threads running in the first place. Join your threads and you will be fine.
by spacechild1 1y ago
When you return from main(), there shouldn't be any child threads running in the first place. Join your threads and you will be fine.