After the main thread has
finished printing the "mt1"
string 100 times, it is then possible for thread mt2 to run. As Corey wrote, "mt1" must be printed
at least 100 times before the first "mt2" gets printed. It is possible, that after thread mt2 gets started, the threads main or mt1 get blocked until mt2 finishes, but main at least will have finished its work.
An afterthought: You do realise that by the main thread executing object mt1's run() method it is printing the name in the mt1 object - "mt1"? So that there are two threads printing "mt1".
[ September 10, 2005: Message edited by: Barry Gaunt ]