[Click] a question about timer
Eddie Kohler
kohler at cs.ucla.edu
Sun Jun 27 11:52:02 EDT 2004
Yihong,
Your understanding of timers is essentially correct. Except that when there are
*no* active tasks, the Click thread will set a Linux timer to the earliest timer
set to expire, then put itself to sleep. Even then, though, there are no
interrupts.
Eddie
Yihong Zhou wrote:
> Hi, Eddie:
>
> Thanks for your timely response. I have a simple question about the timer. I don't know if my understanding is correct or not.
>
> Is the timer a kind of task that is looped over by the click thread? So that when the timer is fired, it is not going to generate a system interrupt. Instead, it is just like the other tasks such as 'fromDevice', 'ToDevice', etc.
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list