utils/gmr_multi_rx: Fix fg_thread init with new API
Required to build with recent GNURadio. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
4fd7ab4369
commit
db40ee2e21
|
@ -495,7 +495,7 @@ int main(int argc, char** argv)
|
|||
pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask);
|
||||
|
||||
/* Launch the flowgraph in a separate thread. */
|
||||
boost::thread fg_thread( boost::bind( &gr_top_block::run, fg.get() ) );
|
||||
boost::thread fg_thread( boost::bind( &gr_top_block::run, fg.get(), 10000) );
|
||||
|
||||
/* Restore previous signals. */
|
||||
pthread_sigmask(SIG_SETMASK, &old_mask, 0);
|
||||
|
|
Loading…
Reference in New Issue