Here is a simple piece of code. When i add the print (or other) function into the run method--the thread fails to stop after 2 seconds which the join(2) should ensure. Any help appreciated. Should compile on 2.4