(self, name, testcase, sema, mutex, nrunning)
| 77 | |
| 78 | class TestThread(threading.Thread): |
| 79 | def __init__(self, name, testcase, sema, mutex, nrunning): |
| 80 | threading.Thread.__init__(self, name=name) |
| 81 | self.testcase = testcase |
| 82 | self.sema = sema |
| 83 | self.mutex = mutex |
| 84 | self.nrunning = nrunning |
| 85 | |
| 86 | def run(self): |
| 87 | delay = random.random() / 10000.0 |