]> git.gag.com Git - debian/gnuradio/blobdiff - usrp2/host/lib/usrp2_impl.h
Fix race condition that caused commands such as stop_rx_streaming to fail.
[debian/gnuradio] / usrp2 / host / lib / usrp2_impl.h
index ec96f3a7095d8692c0c9c8ec4ff73d33072d227c..434e0e9b13f865aecc7c8fef1ac8b0b6264b6741 100644 (file)
@@ -105,7 +105,8 @@ namespace usrp2 {
     void stop_bg();
     void init_config_rx_v2_cmd(op_config_rx_v2_cmd *cmd);
     void init_config_tx_v2_cmd(op_config_tx_v2_cmd *cmd);
-    bool transmit_cmd(void *cmd, size_t len, pending_reply *p, double secs=0.0);
+    bool transmit_cmd_and_wait(void *cmd, size_t len, pending_reply *p, double secs=0.0);
+    bool transmit_cmd(void *cmd, size_t len);
     virtual data_handler::result operator()(const void *base, size_t len);
     data_handler::result handle_control_packet(const void *base, size_t len);
     data_handler::result handle_data_packet(const void *base, size_t len);