(self)
| 48 | # ── public API ──────────────────────────────────────────────────────────── |
| 49 | |
| 50 | def start(self) -> None: |
| 51 | if self._thread and self._thread.is_alive(): |
| 52 | return |
| 53 | self._running = True |
| 54 | # Do one immediate read so the first render() call has real data |
| 55 | self._loop_once() |
| 56 | self._thread = threading.Thread(target=self._loop, daemon=True, name="sysmon") |
| 57 | self._thread.start() |
| 58 | |
| 59 | def stop(self) -> None: |
| 60 | self._running = False |
nothing calls this directly
no test coverage detected