Patent · US Expired

Interrupt and trap handling in an embedded multi-thread processor to avoid priority inversion and maintain real-time operation

US7774585B2 · kind B2 · utility

1Cited by
3References
40Claims
0Family size

Assignee

Inventors

Key dates

Filing dateNov 12, 2003
Grant dateAug 10, 2010
Priority date
Expiry dateMay 19, 2024

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F13/26
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.