init: Request SCHED_RR using CAP_SYS_NICE and add Python to nix dev shell (#2690)
* nix: add python3 to devShell * init: request SCHED_RR scheduling policy * init: checks if host supports reseting scheduler on fork * init: make gainRealTime more compatible with other OSes * init: remove linux-only code
This commit is contained in:
parent
50e6f368ff
commit
9fc5f4c48b
4 changed files with 19 additions and 1 deletions
|
|
@ -89,6 +89,7 @@ int main(int argc, char** argv) {
|
|||
}
|
||||
|
||||
std::cout << "Welcome to Hyprland!\n";
|
||||
Init::gainRealTime();
|
||||
|
||||
// let's init the compositor.
|
||||
// it initializes basic Wayland stuff in the constructor.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue