[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Q about rtems_timer_fire_after
- Date: Thu, 09 Sep 2004 08:01:40 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill <joel at OARcorp dot com>)
- Subject: Q about rtems_timer_fire_after
Chris Johns wrote:
> mikeci at acm.org wrote:
>
>>
>> I have a question about function rtems_timer_fire_after. Can this routine
>> be called in ISR context?
>>
>
> Yes. Joel and I have just been looking over this code and this call can
> be made while in an ISR.
>
If your TSR shouldn't be called from an ISR, then you should use
the alternative versions which use a timer server. See:
+ rtems_timer_server_initiate
+ rtems_timer_server_fire_after
+ rtems_timer_server_fire_when
They were added to support TSRs which cannot be called from ISRs.
--
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