discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] m-block timeouts, time passed, or pause?


From: George Nychis
Subject: [Discuss-gnuradio] m-block timeouts, time passed, or pause?
Date: Mon, 21 Apr 2008 22:57:25 -0400
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Is there any way to get an approximate amount of time that has elapsed since a timeout has been scheduled? Or better yet, a way to pause a timer? This is extremely useful for backoff periods in MAC contention protocols. Where, for instance, the timer is only decremented when the channel is considered idle. The best method would be a way to pause it. The alternative would be to find the time passed, cancel it, and then when the channel becomes idle to schedule another timer with the amount of remaining time.

After checking mb_mblock.h, I don't think any of this is readily available... can either of these can be simply implemented? If so, can you pass along some advice? :)

Thanks!
George




reply via email to

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