×

Preemptive multitasking employing software emulation of directed exceptions in a multithreading processor

  • US 9,032,404 B2
  • Filed: 12/20/2005
  • Issued: 05/12/2015
  • Est. Priority Date: 08/28/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method for performing preemptive scheduling of a plurality of processes managed by a symmetric multiprocessor operating system on a multithreading microprocessor, the method comprising:

  • receiving, by an exception domain, a periodic interrupt request from a timer, the exception domain comprising a plurality of thread contexts of the microprocessor;

    determining a subset of eligible threads from the plurality of thread contexts of the microprocessor;

    selecting one of the plurality of thread contexts from the subset of eligible threads;

    executing a first interrupt handler on the one of the plurality of thread contexts to service the interrupt request, said executing comprising;

    scheduling a new process to execute on the one thread context;

    writing an address of a second interrupt handler to a restart address register of each thread context other than the one of the plurality of thread contexts; and

    scheduling, by the second interrupt handler, a respective new process to execute on each thread context other than the one of the plurality of thread contexts.

View all claims
  • 13 Assignments
Timeline View
Assignment View
    ×
    ×