discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] delete_head_blocking()


From: Martin Braun (CEL)
Subject: Re: [Discuss-gnuradio] delete_head_blocking()
Date: Fri, 28 Jun 2013 11:21:02 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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.

MB
-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpXVUiRhHops.pgp
Description: PGP signature


reply via email to

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