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
pgpn1zzuV4ncw.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
