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

Which stack does the timer service routine use?



On Fri, 28 May 1999, Jiri Gaisler wrote:

> Does anyone know which stack a timer service routine work on? Is
> it the interrupt stack, the task stack of the task that created
> the timer, or the task stack of the task that was interrupted by
> the timer interrupt? We're having some problems with stack overflow
> during timer handling but I don't know which stack to increase.
> 

Timer service routines are invoked during the clock_tick
directive and thus run on the Interrupt stack.

We talked at one time about making a dedicated timer server task but were
resistant adding the overhead.

--joel
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985