On 01/15/2015 12:59 AM, Sylvain Munaut wrote:

> To me it look like all it's missing is a
> basic_block::delete_head_blocking with a timeout. Then the
> pdu_to_tagged_stream_impl::calculate_output_stream_length could just
> use that with a reasonably small timeout (like 100ms or so) so that it
> waits on a message but if none comes, it still handout control back to
> the caller from time to time (which I think is required for stop() to
> work).
> 
> Is there anything that wouldn't work with this approach ?

A change to a blocking call with a timeout would work as a "short" term fix.

The longer term proper fix requires a scheduler change as outlined in a
that email Stephan Ludwig asked about.  It's in a long list of things
Tom and I are organizing for 3.8 scheduler work.

-- 
Johnathan Corgan, Corgan Labs
SDR/DSP Training and Consulting Services
http://corganlabs.com

<<attachment: johnathan.vcf>>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to