Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

Commit

Permalink
Increase DriverFramework priority to SCHED_PRIORITY_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
bartslinger authored and LorenzMeier committed Sep 30, 2018
1 parent 721ace3 commit 9f456ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/DriverFramework.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ static int setRealtimeSched()
int policy = SCHED_FIFO;
sched_param param {};

param.sched_priority = 10;
param.sched_priority = sched_get_priority_max(SCHED_FIFO);

int ret = pthread_setschedparam(pthread_self(), policy, &param);

Expand Down

0 comments on commit 9f456ac

Please sign in to comment.