On 06/28/2013 11:21 AM, Martin Braun (CEL) wrote:
On Fri, Jun 28, 2013 at 10:48:09AM +0200, Bastian Bloessl wrote:
Hi,
On 06/28/2013 08:57 AM, Martin Braun (CEL) wrote:
Synopsis: Don't block in work() => don't use this call.
Perhaps it makes sense to register a message handler (think of it as a
work function for a specific message).
Even if the only input of the block is a message port?
In that case, there is no reason to block anyway. If you have two
message ports as input, blocking might even cause a deadlock.
so it is the intended behavior that the work function is called all over
the time (and immediately returns)? I just checked for the pdu to tagged
stream block and its called ~500k times per second.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio