mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 09:35:09 +00:00
SystemServer: Run clang-format on everything.
This commit is contained in:
parent
8358833bc8
commit
e09c3a1ae8
1 changed files with 7 additions and 7 deletions
|
@ -1,12 +1,12 @@
|
||||||
|
#include <AK/Assertions.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <sched.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <sched.h>
|
|
||||||
#include <AK/Assertions.h>
|
|
||||||
|
|
||||||
void start_process(const char *prog, int prio)
|
void start_process(const char* prog, int prio)
|
||||||
{
|
{
|
||||||
pid_t pid = 0;
|
pid_t pid = 0;
|
||||||
|
|
||||||
|
@ -47,14 +47,14 @@ void start_process(const char *prog, int prio)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int, char **)
|
int main(int, char**)
|
||||||
{
|
{
|
||||||
int lowest_prio = sched_get_priority_min(SCHED_OTHER);
|
int lowest_prio = sched_get_priority_min(SCHED_OTHER);
|
||||||
int highest_prio = sched_get_priority_max(SCHED_OTHER);
|
int highest_prio = sched_get_priority_max(SCHED_OTHER);
|
||||||
start_process("/bin/LookupServer", lowest_prio);
|
start_process("/bin/LookupServer", lowest_prio);
|
||||||
start_process("/bin/WindowServer", highest_prio);
|
start_process("/bin/WindowServer", highest_prio);
|
||||||
start_process("/bin/Taskbar", highest_prio);
|
start_process("/bin/Taskbar", highest_prio);
|
||||||
start_process("/bin/Terminal", highest_prio-1);
|
start_process("/bin/Terminal", highest_prio - 1);
|
||||||
start_process("/bin/Launcher", highest_prio);
|
start_process("/bin/Launcher", highest_prio);
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue