Searched refs:num_threads (Results 1 – 2 of 2) sorted by relevance
135 def __init__(self, num_threads): argument136 self.num_threads = num_threads145 if self.waiting == self.num_threads:146 self.waiting = self.num_threads - 1
330 num_threads = 5333 expected_hash = hashlib.sha1(data*num_threads).hexdigest()343 for threadnum in xrange(num_threads):