discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Effect of sleeping a processing block in the midd


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] Effect of sleeping a processing block in the middle of the "work" method.
Date: Mon, 18 Jul 2011 21:24:59 -0400

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

On Jul 18, 2011, at 3:15 PM, Colby Boyer wrote:
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]