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