alarm()

Joel Sherrill joel.sherrill at OARcorp.com
Fri Jul 19 16:06:21 UTC 2013


On 7/19/2013 10:21 AM, Sebastian Huber wrote:
> Hello,
>
> should it be possible to use alarm() from interrupt context?  There are some
> race conditions in this function I need to fix.
>
I personally don't think it makes sense to use it from an ISR.
If you want to return an error for that case, I think it is OK.

It is certainly beyond anything the POSIX standard addresses.

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




More information about the devel mailing list