Threading question
news at aegis.mailshell.com
news at aegis.mailshell.com
Wed Aug 1 11:09:25 EDT 2001
In the following code snippet, is the if statement redundant?
It seems to make no difference whether its there or not.
thread1.start()
thread2.start()
thread3.start()
thread4.start()
if threading.currentThread().getName() == 'MainThread':
thread1.join()
thread2.join()
thread3.join()
thread4.join()
TIA
Daniel.
----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web -----
http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
NewsOne.Net prohibits users from posting spam. If this or other posts
made through NewsOne.Net violate posting guidelines, email abuse at newsone.net
More information about the Python-list
mailing list