title: Python - Multiprocessing StarMap with two arguments
body: <p>I've a function that runs multiple queries in parallel but I'm having some troubles to run my function using multprocessing with more than argument. I've this code:</p>
  <pre><code>def run(args):
      query, cursor = args
      cursor.execute(query)
  with multiprocessing.Pool(processes=10) as pool:
      args = (product(queries),cursor)
      results = pool.starmap(run(args))
  </code></pre>
  <p>If I run only <code>pool.starmap(run(product(queries)))</code> it works well, however I have the need to pass also the cursor object.</p>
  <p>How I can do that?</p>
  <p>I'm having the following error:</p>
  <pre><code>TypeError: starmap() missing 1 required positional argument: 'iterable'
  </code></pre>