aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/device/uhd/UHDDevice.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-21 13:00:38 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-21 13:00:41 +0200
commit67aa91b2c0e7a06873e0c42f3e7088c6ce56d178 (patch)
tree015ebf46967242ba5698aabb1d06bba791be326e /Transceiver52M/device/uhd/UHDDevice.h
parent3eed8ebb0d91c18c8bf81db4df25d77cc7b1b544 (diff)
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
Diffstat (limited to 'Transceiver52M/device/uhd/UHDDevice.h')
-rw-r--r--Transceiver52M/device/uhd/UHDDevice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Transceiver52M/device/uhd/UHDDevice.h b/Transceiver52M/device/uhd/UHDDevice.h
index d5a6348..944578a 100644
--- a/Transceiver52M/device/uhd/UHDDevice.h
+++ b/Transceiver52M/device/uhd/UHDDevice.h
@@ -71,7 +71,6 @@ public:
bool start();
bool stop();
bool restart();
- void setPriority(float prio);
enum TxWindowType getWindowType() { return tx_window; }
int readSamples(std::vector<short *> &bufs, int len, bool *overrun,