Searched refs:nrunning (Results 1 – 1 of 1) sorted by relevance
30 def __init__(self, name, testcase, sema, mutex, nrunning): argument35 self.nrunning = nrunning45 self.nrunning.inc()47 print self.nrunning.get(), 'tasks are running'48 self.testcase.assertTrue(self.nrunning.get() <= 3)55 self.nrunning.dec()56 self.testcase.assertTrue(self.nrunning.get() >= 0)59 self.name, self.nrunning.get())