priority of alarm handler?
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?
Thanks,
Tom
Quoted 9 lines · Tom Z
Hi, I have question regarding using
intrt_alarm_create(RT_ALARM* alarm,
const char * name,
rt_alarm_thandler,
void * cookie
)If I installed a kernel-space handler to an
RT_ALARMobject, 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.
Quoted 8 lines
Thanks,
Tom
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai
Signature · 1 line
Philippe.