When you unlock the flow graph it basically interrupts and joins all
scheduler threads. Then it creates an entirely new scheduler.
wait() is a good candidate for the cause of lockups, that is,
interrupted threads are not exiting. This may be a sign of a bug in a
particular block's work function.
Now, if you are seeing crashing, that may be the result of a interrupted
block not cleaning itself up properly to be called by work again:
hanging onto old memory, not resetting state variables...
It may be a useful test to not lock/unlock, but to stop/wait/start and
see where the flow graph breaks down.
-Josh
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment