On 05/07/2013 01:47 AM, Tom Z wrote:
Hi, I have question regarding using
int rt_alarm_create     (     RT_ALARM *      alarm,
         const char *      name,
         rt_alarm_t      handler,
         void *      cookie
     )

If I installed a kernel-space handler to an RT_ALARM object, then when this 
handler is executing, will this handler be preempted by other higher-priority 
interrupts? If yes, can I prevent this from happening?


No, it won't be preempted by any other interrupt, unless you unmask it manually, which you should not do. In addition, kernel-based alarm handlers are serialized.


Thanks,
Tom
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai



--
Philippe.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to