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/radioDevice.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/radioDevice.h')
-rw-r--r-- | Transceiver52M/radioDevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/radioDevice.h b/Transceiver52M/radioDevice.h index e577bc5..19b5a88 100644 --- a/Transceiver52M/radioDevice.h +++ b/Transceiver52M/radioDevice.h @@ -52,7 +52,7 @@ class RadioDevice { virtual enum TxWindowType getWindowType()=0; /** Enable thread priority */ - virtual void setPriority()=0; + virtual void setPriority(float prio = 0.5) = 0; /** Read samples from the radio. |