rtl: notify work function on exit of async read

this is required to handle the interruption of a flowgraph in a clean
way by returning WORK_DONE in work() function.
gr3.6
Dimitri Stolnikov 10 years ago
parent 241fc1922b
commit 10573261c2

@ -302,6 +302,8 @@ void rtl_source_c::rtlsdr_wait()
if ( ret != 0 )
std::cerr << "rtlsdr_read_async returned with " << ret << std::endl;
_buf_cond.notify_one();
}
int rtl_source_c::work( int noutput_items,

Loading…
Cancel
Save