discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr_timer.h on next branch


From: Alexandru Csete
Subject: Re: [Discuss-gnuradio] gr_timer.h on next branch
Date: Thu, 2 May 2013 21:52:25 +0200

On Thu, May 2, 2013 at 2:06 AM, Johnathan Corgan
<address@hidden> wrote:
> On Wed, May 1, 2013 at 2:15 PM, Alexandru Csete <address@hidden> wrote:
>
>>
>> There is a gr_timer.h header in the gnuradio/next installation
>> directory, however, when I try to use this class I get
>>
>> receiver.cpp:(.text+0x1ccf): undefined reference to
>> `gr_make_timer(void (*)(gr_timer*, void*), void*)'
>> receiver.cpp:(.text+0x1d6a): undefined reference to
>> `gr_timer::schedule_periodic(double, double)'
>>
>> I can't find any implementation for this class. Is this some leftover
>> from old times?
>
>
> This looks like a stray header file that was never deleted, or something
> that never got implemented from back in 2005.
>
> I'll delete this on next.
>
> As for getting timer callback functionality, you could use POSIX timers, but
> I'd rather chew on broken glass than try to get process signal-based
> notifications working correctly in multithreaded code.
>

Thanks for the reply. As much as I need this functionality, I agree it
doesn't belong in gnuradio.
It looks like a boost::thread equipped with a
boost::this_thread::sleep() will be sufficient for my current needs.

Alex



reply via email to

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