mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 01:12:56 +00:00
Start the WindowServer process with high priority.
This commit is contained in:
parent
640360e958
commit
53c69dbade
Notes:
sideshowbarker
2024-07-19 15:41:49 +09:00
Author: https://github.com/awesomekling
Commit: 53c69dbade
1 changed files with 3 additions and 1 deletions
|
@ -101,10 +101,12 @@ VFS* vfs;
|
|||
|
||||
int error;
|
||||
|
||||
Process::create_user_process("/bin/WindowServer", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty0);
|
||||
auto* window_server_process = Process::create_user_process("/bin/WindowServer", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty0);
|
||||
if (error != 0) {
|
||||
dbgprintf("error: %d\n", error);
|
||||
hang();
|
||||
}
|
||||
window_server_process->set_priority(Process::HighPriority);
|
||||
//Process::create_user_process("/bin/sh", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0);
|
||||
Process::create_user_process("/bin/Terminal", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty0);
|
||||
#ifdef SPAWN_GUITEST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue