discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Segmentation fault in wav file sink


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Segmentation fault in wav file sink
Date: Mon, 12 Dec 2011 18:47:24 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Dec 12, 2011 at 11:49:56AM +0100, Martin Braun wrote:
> On Sun, Dec 11, 2011 at 02:31:03PM -0500, Marcus D. Leech wrote:
> > I think that what I'd do is cause the close() method to simply set a flag 
> > that
> > says "close desired", and then do the actual close at the end of
> >   the work function, probably under a mutex.
> 
> That sounds sensible. It could be done in do_update().

I'm sending a patch to patch-gnuradio. In it's current form, it's just
not thread-safe.

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: pgpcmsInZiO6x.pgp
Description: PGP signature


reply via email to

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