This seems like a good idea, though kind of unusual to me. Is this a
standard or recommended way of implementing timed processing in Unix so as
to allow multiple timed events to be scheduled?
----- Original Message -----
From: "Daniel O'Connor" <[EMAIL PROTECTED]>
To: <discuss-gnuradio@gnu.org>
Cc: "Eric Blossom" <[EMAIL PROTECTED]>; "Jeremy Chew" <[EMAIL PROTECTED]>
Sent: Thursday, November 02, 2006 7:39 AM
Subject: Re: [Discuss-gnuradio] Timers
Would it be possible to spawn another thread and use usleep or select to
wait
for the desired length of time?
(This is addressed to the OP but I deleted that message)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
I plan to use setitimer() for my GR development. I understand that each
Linux process can have only one timer at a time. Is this right?
If so, does GR use the timer? How do I avoid clashing with the GR over the
timer?
In general, we handle time by counting samples. For example, with the
USRP as the i/o device, we _know_ the actual data rate across the USB.
We don't explicitly use setitimer, but there's a chance that Python
could be using it behind the scenes for reasons of it's own.
FYI, when the high-resolution timing support is complete, it will
effectively be counting samples too -- only this time out in the FPGA.
Eric
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio