Effect of sleeping a processing block in the middle of the "work" method

Say, I need a block to wait for some processing to finish down stream
before
moving on to the next processing stage. Is it OK for me to stall in the
middle of the work function via a mutex? Or will this mess up the thread
scheduler.

Thanks,
Colby

Assuming you’re using the thread-per-block scheduler, then you just need
to make sure any data dependencies are met so-as to not hang the
scheduler – which I think would be pretty hard to do. See also
“gnuradio-core/src/lib/general/gr_throttle.cc”. - MLD