commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r6646 - gnuradio/branches/features/inband-usb/usrp/hos


From: gnychis
Subject: [Commit-gnuradio] r6646 - gnuradio/branches/features/inband-usb/usrp/host/lib/inband
Date: Wed, 17 Oct 2007 09:17:14 -0600 (MDT)

Author: gnychis
Date: 2007-10-17 09:17:13 -0600 (Wed, 17 Oct 2007)
New Revision: 6646

Modified:
   
gnuradio/branches/features/inband-usb/usrp/host/lib/inband/usrp_usb_interface.cc
Log:
Fix for shared memory hack between USB interface block and RX block to stop the
RX


Modified: 
gnuradio/branches/features/inband-usb/usrp/host/lib/inband/usrp_usb_interface.cc
===================================================================
--- 
gnuradio/branches/features/inband-usb/usrp/host/lib/inband/usrp_usb_interface.cc
    2007-10-17 14:57:52 UTC (rev 6645)
+++ 
gnuradio/branches/features/inband-usb/usrp/host/lib/inband/usrp_usb_interface.cc
    2007-10-17 15:17:13 UTC (rev 6646)
@@ -396,6 +396,7 @@
     if(verbose)
       std::cout << "[USRP_USB_INTERFACE] Stopping RX...\n";
     usrp_rx_stop = true;
+    while(usrp_rx_stop) {usleep(1);}
     d_urx->stop();
   }
   else {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]