Hi all,
Following is the program I tried to understand
Thread's join method
and these are the things I expected from this program
1. Above statement will print only after t1 finished his work
2.That loop might print only after thread t3 finished his work
or at least after t3 started CPU won't be consumed by those above loop statements since main method is joined to the end of thread "t3" by this statement
My first expectation worked as I expected but the second didn't .
Here's the partial output :
why the second didn't work as I expected
Thanks in advance