Just a small typo: the second $t1->join(); should be $t2->join();
In reply to Re^2: multithreads newbie question by daverave in thread multithreads newbie question by daverave