Thanks a lot, Steve, for your fast reply. But the behaviour is the same if 'threadfunction' sleeps longer than just 1 second. 'threadfunction' is of course a dummy to show the problem, imagine a longrunning background-task.
If you are right, the question remains 'How can I assure that the starting function finishes, while the other thread still runs ?' . As I said, this is the purpose of threading. Thanks again Norbert -- http://mail.python.org/mailman/listinfo/python-list