aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-06-03 01:32:06 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:59 -0800
commit0d659863da607acaaf15ab69a662af2da006f65e (patch)
treeeb836c1ee8002a8ecdeb2c91fc8caf074c5c7c2c /host/lib/utils
parent039de2841b3e96421fe0b868b7c97825b2023a66 (diff)
downloaduhd-0d659863da607acaaf15ab69a662af2da006f65e.tar.gz
uhd-0d659863da607acaaf15ab69a662af2da006f65e.tar.bz2
uhd-0d659863da607acaaf15ab69a662af2da006f65e.zip
rpc: Add set timeout API call
Diffstat (limited to 'host/lib/utils')
-rw-r--r--host/lib/utils/rpc.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/utils/rpc.hpp b/host/lib/utils/rpc.hpp
index 1ae4f3c74..ac619ef58 100644
--- a/host/lib/utils/rpc.hpp
+++ b/host/lib/utils/rpc.hpp
@@ -134,6 +134,11 @@ class rpc_client
_token = token;
}
+ void set_timeout(size_t timeout_ms)
+ {
+ _client.set_timeout(timeout_ms);
+ }
+
private:
std::string _token;
std::mutex _mutex;