mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-10-01 03:43:42 +08:00
Update realtime priority for modeld/dmonitoringd (#1675)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user