Hi, On 01/15/2015 02:26 PM, Sylvain Munaut wrote: > >Why don't we just delete_head_blocking() and -- block? > I think this would prevent the flow graph from stopping because it > would block there indefinitely. Yes, a friendly cohabitant of this lab just told me to rtfm and also consider it; I do agree, I think currently this would stop stop() from stopping(). > For that to work, the condition variables of each message port would > have to be poked by the runtime on shutdown. > > That's why I proposed a version of delete_head_blocking with a timeout > so we can handover control from time to time. Yeah, but why don't we just poke that variable on stop()? Ignoring the work calls that might under non-stop() circumstances might occur from message queue handling would imho be perfectly fine when stop() has been called.
Greetings, Marcus _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
