Nuand/gr-osmosdr — pull request #1 by jynik (2013-07-07 18:43:03+00:00)
Title: bladerf: Move send/receive operations into worker threads

Currently, libbladeRF requires samples to be sent/received in fixed-size blocks. This tends to conflict with the number of input/output items provided to/requested from the block.

This set of changes uses worker threads to populate a FIFO of gr_complex sample values, and move those to/from libbladeRF. The work() routine now pushes/pops samples the this FIFO instead of blocking on libbladeRF calls.