(cls, name)
| 374 | |
| 375 | @classmethod |
| 376 | def hasThread(cls, name) -> bool: |
| 377 | rv = cls.threads.get(name, None) |
| 378 | if rv is None: |
| 379 | return False |
| 380 | if not rv.isRunning(): |
| 381 | return False |
| 382 | return True |
| 383 | |
| 384 | def __new__(cls, *args, **kwargs): |
| 385 | raise RuntimeError("This class is not allowed to be instantiated.") |
no test coverage detected