Python Multithreading ThreadPool with arguments

In Python3 it is actually very easy to create a fix number of worker threads and fetch a result as soon as it's available. The thread target in this case is a function which takes one argument. According to the multiprocessing documentation, the developers recommend to use the concurrent.futures module because of it's compatibility. I ... Weiterlesen