> while True: > for client in clients: > stats = ThreadStats() > stats.start() > p = Process(target=getWhispererLogsDirSize, args=(client,queue,)) > jobs.append(p) > p.start() > p.join()
You start one client then join before starting the next... Start them all and push the pointer the resulting process object into a collection. Then use whatever semantics you desire to wait them all... jlc -- https://mail.python.org/mailman/listinfo/python-list