diff options
author | Thomas Tsou <tom@tsou.cc> | 2013-11-08 12:50:03 -0500 |
---|---|---|
committer | Thomas Tsou <tom@tsou.cc> | 2013-11-15 23:32:40 -0500 |
commit | 7553aa973f352d48abbf5f8fc67530a5a64c108d (patch) | |
tree | b721770292751e8eef853bcccd3e78f40368208f /Transceiver52M/radioInterface.h | |
parent | 7e4e536b1bfc9b20df6b30d427de29e3cc5bf5cf (diff) |
Transceiver52M: Set variable thread priority levels
The transceiver and underlying device drivers are threaded. use
the following priority levels.
0.50 - UHD driver internal threads
0.45 - Receive device drive thread
0.44 - Transmit device drive thread
0.43 - UHD asynchronous update thread (error reporting)
0.42 - Receive burst processing thread(s)
Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/radioInterface.h')
-rw-r--r-- | Transceiver52M/radioInterface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h index 1e58ecb..124cdc3 100644 --- a/Transceiver52M/radioInterface.h +++ b/Transceiver52M/radioInterface.h @@ -133,7 +133,7 @@ public: double fullScaleOutputValue(); /** set thread priority on current thread */ - void setPriority() { mRadio->setPriority(); } + void setPriority(float prio = 0.5) { mRadio->setPriority(prio); } /** get transport window type of attached device */ enum RadioDevice::TxWindowType getWindowType() { return mRadio->getWindowType(); } |