I\'ve a python program that spawns a number of threads. These threads last anywhere between 2 seconds to 30 seconds. In the main thread I want to track whenever each thread
You can let the threads push their results into a threading.Queue. Have another thread wait on this queue and print the message as soon as a new item appears.