Gr_timer.h on next branch

Greetings,

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 togr_timer::schedule_periodic(double, double)’

I can’t find any implementation for this class. Is this some leftover
from old times?

I need a framework to execute something periodically (like a QTimer
but without Qt) so if there is a different class or framework I’d be
interested to know.

Alex

On Wed, May 1, 2013 at 2:15 PM, Alexandru C. [email protected]
wrote:

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.

On Thu, May 2, 2013 at 2:06 AM, Johnathan C.
[email protected] wrote:

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