aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/usrp
diff options
context:
space:
mode:
authorTrung Tran <trung.tran@ettus.com>2019-01-09 21:37:25 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-01-14 09:43:56 -0800
commitdceb0aef4000e5f37c5136c5b19436788d1feb2e (patch)
tree25f779196ba3e6681d75a2375ed1439178a4a74e /host/lib/include/uhdlib/usrp
parentfd3f5d011fb99304402cbf3c1e8c596478316119 (diff)
downloaduhd-dceb0aef4000e5f37c5136c5b19436788d1feb2e.tar.gz
uhd-dceb0aef4000e5f37c5136c5b19436788d1feb2e.tar.bz2
uhd-dceb0aef4000e5f37c5136c5b19436788d1feb2e.zip
utils:rpc: set rpc timeout during rpc call
The current implementation of the UHD RPC client has a timeout that is being accessed non-atomically. Many calls follow the pattern: 1. set_timeout(value) 2. request_rpc() 3. set_timeout(default) which is not atomic. Other concurrent calls on the same rpc client may change the timeout value; leads to unexpected behavior These new set of function will, instead, handle setting and re-setting the timeout atomically in the RPC request.
Diffstat (limited to 'host/lib/include/uhdlib/usrp')
0 files changed, 0 insertions, 0 deletions