Patent · US Expired

Resumption of preempted non-privileged threads with no kernel intervention

US5872963A · kind A · utility

108Cited by
2References
22Claims
0Family size

Assignee

Inventors

Key dates

Filing dateFeb 18, 1997
Grant dateFeb 16, 1999
Priority date
Expiry dateFeb 18, 2017

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/461
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A system and method for context switching between a first and a second execution entity (such as a thread) without having to enter into protected kernel mode. The system includes a memory and a plurality of processors, wherein each of the plurality of processors operates within both a user mode and a protected kernel mode and includes a program counter and a plurality N of registers. The first and second execution entities have user states defined by a program counter value, a context identifier value and N register values. To switch context, an execution entity such as a thread, while in user mode, writes the user state of the first execution entity to memory. It then restores the user state of the second execution entity by writing register values associated with the second execution entity to all but a first register and writing the context identifier value to a context identifier location. The program counter value is then written to the first register and a jump performed to the program counter value stored in the first register while the last remaining register value is loaded to the first register. Each of these steps is performed in user mode; the result is an efficient way…

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