Home | History | Annotate | Download | only in releasetools

Lines Matching refs:threads

279   def __init__(self, tgt, src=None, threads=None, version=4,
281 if threads is None:
282 threads = multiprocessing.cpu_count() // 2
283 if threads == 0:
284 threads = 1
285 self.threads = threads
712 if self.threads > 1:
713 print("Computing patches (using %d threads)..." % (self.threads,))
774 threads = [threading.Thread(target=diff_worker)
775 for _ in range(self.threads)]
776 for th in threads:
778 while threads:
779 threads.pop().join()