mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-23 17:23:51 +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>
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