|
From: | Bastian Bloessl |
Subject: | Re: [Discuss-gnuradio] delete_head_blocking() |
Date: | Fri, 28 Jun 2013 15:48:46 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |