mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
set nice values for non RT processes (#20812)
* set nice values for non RT processes * builds * fix qcom build Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: ec414e2eb1e27eac04582ffbdc88f8022bfb34cc
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
#include "locationd.h"
|
||||
|
||||
using namespace EKFS;
|
||||
@@ -376,6 +379,8 @@ int Localizer::locationd_thread() {
|
||||
}
|
||||
|
||||
int main() {
|
||||
setpriority(PRIO_PROCESS, 0, -20);
|
||||
|
||||
Localizer localizer;
|
||||
return localizer.locationd_thread();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user