(self)
| 42 | class ThreadRunningTests(BasicThreadTest): |
| 43 | |
| 44 | def newtask(self): |
| 45 | with self.running_mutex: |
| 46 | self.next_ident += 1 |
| 47 | verbose_print("creating task %s" % self.next_ident) |
| 48 | thread.start_new_thread(self.task, (self.next_ident,)) |
| 49 | self.created += 1 |
| 50 | self.running += 1 |
| 51 | |
| 52 | def task(self, ident): |
| 53 | with self.random_mutex: |
no test coverage detected