From a8e286b106f19c37d6cf20de886c65f3c04da162 Mon Sep 17 00:00:00 2001 From: Ciro Nishiguchi Date: Mon, 28 Oct 2019 14:28:33 -0500 Subject: rfnoc: Make polling I/O service not block on flow control Add a new method to io_service::send_io to check whether the destination is ready for data, to make it possible to poll send_io rather than block waiting for flow control credits. --- host/lib/include/uhdlib/transport/tx_streamer_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/include/uhdlib/transport/tx_streamer_impl.hpp') diff --git a/host/lib/include/uhdlib/transport/tx_streamer_impl.hpp b/host/lib/include/uhdlib/transport/tx_streamer_impl.hpp index c594dd530..42250c4b1 100644 --- a/host/lib/include/uhdlib/transport/tx_streamer_impl.hpp +++ b/host/lib/include/uhdlib/transport/tx_streamer_impl.hpp @@ -284,7 +284,7 @@ public: (eob_on_last_packet and final_length == nsamps_to_send_remaining); num_samps_sent = _send_one_packet( - buffs, total_nsamps_sent, final_length, metadata, eov, timeout); + buffs, total_nsamps_sent, final_length, metadata, eov, timeout_ms); } // Advance sample accumulator and decrement remaining samples -- cgit v1.2.3