首页>
外国专利>
Interrupt and trap handling in an embedded multi-thread processor to avoid priority inversion and maintain real-time operation
Interrupt and trap handling in an embedded multi-thread processor to avoid priority inversion and maintain real-time operation
展开▼
机译:嵌入式多线程处理器中的中断和陷阱处理可避免优先级倒置并保持实时操作
展开▼
页面导航
摘要
著录项
相似文献
摘要
A real-time, multi-threaded embedded system includes rules for handling traps and interrupts to avoid problems such as priority inversion and re-entrancy. By defining a global interrupt priority value for all active threads and only accepting interrupts having a priority higher than the interrupt priority value, priority inversion can be avoided. Switching to the same thread before any interrupt servicing, and disabling interrupts and thread switching during interrupt servicing can simplify the interrupt handling logic. By storing trap background data for traps and servicing traps only in their originating threads, trap traceability can be preserved. By disabling interrupts and thread switching during trap servicing, unintended trap re-entrancy and servicing disruption can be prevented.
展开▼