diff options
| author | Josh Blum <josh@joshknows.com> | 2010-10-01 18:22:41 -0700 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2010-10-01 18:22:41 -0700 | 
| commit | 00cd6018405b57a0982b0ce103ff858c646ee18c (patch) | |
| tree | d930efd38829ed3d9f9b79c7ceec503202387288 /host/test | |
| parent | a772f4536e46227df3301c637927c3fbfb69a08d (diff) | |
| download | uhd-00cd6018405b57a0982b0ce103ff858c646ee18c.tar.gz uhd-00cd6018405b57a0982b0ce103ff858c646ee18c.tar.bz2 uhd-00cd6018405b57a0982b0ce103ff858c646ee18c.zip  | |
uhd: implemented a double timeout (in seconds) for send and recv chains
converted all size_t timeout_ms to double timeout
bounded and alignment buffer now take double timeout
added timeout to device::send and zero_copy_if::get_send_buff
Diffstat (limited to 'host/test')
| -rw-r--r-- | host/test/buffer_test.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/host/test/buffer_test.cpp b/host/test/buffer_test.cpp index aadb3f951..8445412e7 100644 --- a/host/test/buffer_test.cpp +++ b/host/test/buffer_test.cpp @@ -23,7 +23,7 @@  using namespace boost::assign;  using namespace uhd::transport; -static const boost::posix_time::milliseconds timeout(10); +static const double timeout = 0.01/*secs*/;  BOOST_AUTO_TEST_CASE(test_bounded_buffer_with_timed_wait){      bounded_buffer<int>::sptr bb(bounded_buffer<int>::make(3));  | 
