[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Access to history before there is one (Block writ
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Access to history before there is one (Block writing question) |
Date: |
Thu, 2 Apr 2009 07:39:52 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Apr 02, 2009 at 09:30:47AM -0500, Jason Uher wrote:
> >
> > Sorry, no.
> >
> > Eric
> >
>
> OK,
>
> Is there a way to distinguish between an uninitialized history (which
> seems to be all 0's) and a history whose data is all 0's?
No. 0 == 0 :-)
> Or perhaps some way that the work function knows this that it is the
> first time being called (I am currently kludging it with a class
> variable, 'cleared_buffer')
The instance variable should do it.
Eric