summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/tpb_thread_body.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/tpb_thread_body.cc')
-rw-r--r--gnuradio-runtime/lib/tpb_thread_body.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/tpb_thread_body.cc b/gnuradio-runtime/lib/tpb_thread_body.cc
index abf722dec2..c95547748a 100644
--- a/gnuradio-runtime/lib/tpb_thread_body.cc
+++ b/gnuradio-runtime/lib/tpb_thread_body.cc
@@ -132,7 +132,8 @@ tpb_thread_body::tpb_thread_body(block_sptr block,
if (!d->d_tpb.input_changed) {
boost::system_time const timeout =
- boost::get_system_time() + boost::posix_time::milliseconds(250);
+ boost::get_system_time() +
+ boost::posix_time::milliseconds(block->blkd_input_timer_value());
d->d_tpb.input_cond.timed_wait(guard, timeout);
}
} break;