mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:58:11 +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:
parent
b5d73c834f
commit
9676548800
3 changed files with 34 additions and 3 deletions
|
@ -103,7 +103,7 @@ int main(int argc, char** argv)
|
|||
sched_setparam(0, ¶m);
|
||||
}
|
||||
|
||||
if (pledge("stdio proc recvfd sendfd rpath exec unix", nullptr) < 0) {
|
||||
if (pledge("stdio thread proc recvfd sendfd rpath exec unix", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue