Update realtime priority for modeld/dmonitoringd (#1675)
parent
ceba6fc675
commit
ec5fc0e92b
|
@ -23,7 +23,7 @@ static void set_do_exit(int sig) {
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
int err;
|
int err;
|
||||||
set_realtime_priority(1);
|
set_realtime_priority(51);
|
||||||
|
|
||||||
// messaging
|
// messaging
|
||||||
SubMaster sm({"dMonitoringState"});
|
SubMaster sm({"dMonitoringState"});
|
||||||
|
|
|
@ -73,7 +73,7 @@ void* live_thread(void *arg) {
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
int err;
|
int err;
|
||||||
set_realtime_priority(1);
|
set_realtime_priority(51);
|
||||||
|
|
||||||
// start calibration thread
|
// start calibration thread
|
||||||
pthread_t live_thread_handle;
|
pthread_t live_thread_handle;
|
||||||
|
|
Loading…
Reference in New Issue