From 912ed28b3df13b9f9c33f2fa92867ec0ac7445fd Mon Sep 17 00:00:00 2001 From: Ciro Nishiguchi Date: Wed, 2 Oct 2019 21:49:53 -0500 Subject: rfnoc: Make trasnport safe to use with offload threads Make transports safe to use with an offload thread by ensuring that the callbacks and the API methods can execute concurrently. Also, ensure that the transports release their I/O service clients prior to allowing their other member variables be destroyed. --- host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp') diff --git a/host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp b/host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp index 2a37a5afc..f247761e7 100644 --- a/host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp +++ b/host/lib/include/uhdlib/rfnoc/chdr_ctrl_xport.hpp @@ -74,7 +74,7 @@ public: size_t num_send_frames, size_t num_recv_frames); - ~chdr_ctrl_xport() = default; + ~chdr_ctrl_xport(); /*! * Get an empty frame buffer in which to write packet contents. -- cgit v1.2.3