1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00

SystemMonitor: Symbolicate process stacks in a background thread

Use a Threading::BackgroundAction to symbolicate stacks. This avoids
blocking the main thread and keeps the GUI running (mostly.)
This commit is contained in:
Andreas Kling 2021-05-22 19:49:37 +02:00
parent b5d73c834f
commit 9676548800
3 changed files with 34 additions and 3 deletions

View file

@ -22,6 +22,7 @@ private:
virtual void show_event(GUI::ShowEvent&) override;
virtual void hide_event(GUI::HideEvent&) override;
virtual void custom_event(Core::CustomEvent&) override;
pid_t m_pid { -1 };
pid_t m_tid { -1 };