From 67aa91b2c0e7a06873e0c42f3e7088c6ce56d178 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 21 Aug 2019 13:00:38 +0200 Subject: Drop old setPriority related code This code is not needed anymore since we are setting SCHED_RR scheduler with a real time priority in main thread during startup, so all threads will inherit same rt priority, which should be enough to keep the process working reliably even on high system loads (from non rt processes). osmo-trx was tested to be reliable during test with stress-ng as explained in related ticket below. Related: OS#2344 Change-Id: I3a88946dd71e9aeeaac9d19d396e2236c302b608 --- Transceiver52M/device/common/radioDevice.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'Transceiver52M/device/common/radioDevice.h') diff --git a/Transceiver52M/device/common/radioDevice.h b/Transceiver52M/device/common/radioDevice.h index cd378a8..e637611 100644 --- a/Transceiver52M/device/common/radioDevice.h +++ b/Transceiver52M/device/common/radioDevice.h @@ -70,9 +70,6 @@ class RadioDevice { /** Get the Tx window type */ virtual enum TxWindowType getWindowType()=0; - /** Enable thread priority */ - virtual void setPriority(float prio = 0.5) = 0; - /** Read samples from the radio. @param buf preallocated buf to contain read result -- cgit v1.2.3