
4 Aug
2010
4 Aug
'10
12:22 a.m.
It matters because that's precisely what "join" is supposed to do...... halt the calling thread until the "joined" thread is done.
Why, in LISTING 1, doesn't thrd1.join(); thrd2.join(); thrd3.join(); do the same thing, i.e. hold until thrd1 is complete, then do thrd2, then thrd3? Albert