discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] buffering in gr_file


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] buffering in gr_file
Date: Tue, 17 Feb 2009 11:10:25 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Feb 17, 2009 at 10:20:31AM -0500, Marcus D. Leech wrote:
> Is there a way to turn off buffering on gr_file?  (Short of adding an
> fflush in the C++ code that implements the work function?).
> 
> I have an app that writes a single floating-point number to a FIFO at a
> rate of 2Hz, and it doesn't make it to the
>   outside world until the STDIO buffer gets filled.   *I* think this is
> a bug, since it violates the reasonable expectation
>   of the quasi-realtime nature of Gnu Radio.
> 
> Any opinions?
> 

If you use gr.file_descriptor_{source,sink} there won't be any buffering.

Eric





reply via email to

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