def run(self):
    mutex.acquire()
output.append(calc_stuff(self.param))
mutex.release()
threads = []
output = []
mutex = thread.allocate_lock()
for j in range(0, 10):
    current = thread_it(j * offset)
threads.append(current)
current.start()
for t in threads:
    t.join()
как распараллелить простой цикл Python?