osmosdr: notify work function on exit of async read

This commit is contained in:
Dimitri Stolnikov 2013-01-20 15:39:15 +01:00
parent 51787ff8e1
commit 9e60a61f73
1 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,8 @@ void osmosdr_src_c::osmosdr_wait()
if ( ret != 0 )
std::cerr << "osmosdr_read_async returned with " << ret << std::endl;
_buf_cond.notify_one();
}
int osmosdr_src_c::work( int noutput_items,