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
|
|
@ -4,4 +4,5 @@
|
|||
|
||||
namespace Init {
|
||||
bool isSudo();
|
||||
void gainRealTime();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue