Revert "Simulation: Set scheduling policy RR for lockstep"

This reverts commit 742b1839d5.
This commit is contained in:
Julian Oes
2020-01-17 13:38:18 +01:00
committed by Lorenz Meier
parent f64a0982c7
commit 30188d2884
2 changed files with 0 additions and 9 deletions
@@ -266,12 +266,7 @@ WorkQueueManagerRun(int, char **)
#ifndef __PX4_QURT
// schedule policy FIFO
#if defined(ENABLE_LOCKSTEP_SCHEDULER)
int ret_setschedpolicy = pthread_attr_setschedpolicy(&attr, SCHED_RR);
#else
int ret_setschedpolicy = pthread_attr_setschedpolicy(&attr, SCHED_FIFO);
#endif
if (ret_setschedpolicy != 0) {
PX4_ERR("failed to set sched policy SCHED_FIFO (%i)", ret_setschedpolicy);