En Wed, 14 Nov 2007 20:02:42 -0300, <[EMAIL PROTECTED]> escribió: > The problem is that the function "Main" in the Python script can take > up to 60 seconds to execute. How can I terminate this thread (and > therefore the Main function in python) cleanly from the primary thread > of my application?
Not forcibly - you need some cooperation from the Main function. Maybe setting a global variable that Main checks periodically. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list