diff options
author | Eric Blossom | 2009-09-04 03:32:32 -0700 |
---|---|---|
committer | Eric Blossom | 2009-09-04 09:48:16 -0700 |
commit | 96b6c7b97e3fb9188bc6906153254dc36cedc2cb (patch) | |
tree | e3049476dabea6fd8b4383f3bcb70c74d34e81e5 /usrp2/host/lib/copy_handler.cc | |
parent | 5d040bc94b40cab5420303f959695d89fe83e031 (diff) | |
download | gnuradio-96b6c7b97e3fb9188bc6906153254dc36cedc2cb.tar.gz gnuradio-96b6c7b97e3fb9188bc6906153254dc36cedc2cb.tar.bz2 gnuradio-96b6c7b97e3fb9188bc6906153254dc36cedc2cb.zip |
Fix problem with commands timing out (specifically stop_rx_streaming)
After fixing the race, this change uses Tom's idea to stop enqueuing
data when trying to stop, and adds a new flush_rx_samples method
to drop any samples that may have already been accumulated.
I ran Tom's test case 500 times with 0 failures ;-)
Diffstat (limited to 'usrp2/host/lib/copy_handler.cc')
0 files changed, 0 insertions, 0 deletions