gr-osmosdr/lib
Adrian Chadd 9b386707d8 Fix hackrf receive hangs by checking before each lock wait
Fix receive path hangs if another thread closes down the hackrf
receive whilst this buffer receive function is waiting to be
woken up.

Now:

* Sleep for up to 100ms each time waiting for the cond to be kicked;
* Check whether streaming is still enabled each time rather than
  only when the function is entered.

This fixes hangs where consumers like gqrx via gnuradio
will do a stop_rx/start_rx very quickly to change something, and
the buffer receive path is waiting for a buffer.

Signed-off-by: Eric Wild <ewild@sysmocom.de>
2020-12-18 13:22:24 +01:00
..
airspy cmake: actually make linking work 2020-08-03 02:20:16 +02:00
airspyhf cmake: actually make linking work 2020-08-03 02:20:16 +02:00
bladerf Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
fcd Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
file cmake: actually make linking work 2020-08-03 02:20:16 +02:00
freesrp cmake: actually make linking work 2020-08-03 02:20:16 +02:00
hackrf Fix hackrf receive hangs by checking before each lock wait 2020-12-18 13:22:24 +01:00
redpitaya cmake: actually make linking work 2020-08-03 02:20:16 +02:00
rfspace rfspace: Remove broken asio code 2020-11-01 00:06:28 +01:00
rtl cmake: actually make linking work 2020-08-03 02:20:16 +02:00
rtl_tcp cmake: actually make linking work 2020-08-03 02:20:16 +02:00
sdrplay cmake: actually make linking work 2020-08-03 02:20:16 +02:00
soapy Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
uhd Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
xtrx add xtrx support 2020-11-19 01:41:05 +01:00
CMakeLists.txt add xtrx support 2020-11-19 01:41:05 +01:00
arg_helpers.h Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
config.h.in add xtrx support 2020-11-19 01:41:05 +01:00
device.cc Remove disabled OsmoSDR and MiriSDR code 2020-11-01 00:12:56 +01:00
ranges.cc Replace BOOST_FOREACH with range-based for loops 2020-11-01 00:04:27 +01:00
sink_iface.h introduce time & clock synchronisation APIs 2014-11-25 20:47:59 +01:00
sink_impl.cc add xtrx support 2020-11-19 01:41:05 +01:00
sink_impl.h introduce time & clock synchronisation APIs 2014-11-25 20:47:59 +01:00
source_iface.h introduce time & clock synchronisation APIs 2014-11-25 20:47:59 +01:00
source_impl.cc add xtrx support 2020-11-19 01:41:05 +01:00
source_impl.h introduce time & clock synchronisation APIs 2014-11-25 20:47:59 +01:00
time_spec.cc osmo: minor build tweaks w/ rtl on msvc 2015-04-28 22:27:53 +02:00