Colin Brown: >When I run this code and then immediately do a Control-C, I do not get the >'thread' printed? Output buffering. It does when you import sys and add sys.stdout.flush() after the print statement. -- René Pijlman