thread.start_new(testFuncThread,(Test3,))
while (len(resultDict) < 3):
time.sleep(5)
return resultDict #here i did something else such as logging and returning True or False
Maybe there is a better way for doing this?
If we had something like i suggested (with .value or not)
def testMultiThread():
resultDict = {}
resultDict[Test1]= thread.startValueReturningThread(Test1)
resultDict[Test1]= thread.startValueReturningThread(Test2)
resultDict[Test1]= thread.startValueReturningThread(Test3)
return resultDict #or again, pharsing the result...