I am trying to write a program which creates new threads in a loop, and doesn\'t wait for them to finish. As i understand it if i use .start() on the thread, my main loop sh
This calls the function and passes its result as target:
target
threading.Thread(target=DoWorkItem(), args=())
Lose the parentheses to pass the function object itself:
threading.Thread(target=DoWorkItem, args=())