×

Transparent user mode scheduling on traditional threading systems

  • US 8,473,964 B2
  • Filed: 09/30/2008
  • Issued: 06/25/2013
  • Est. Priority Date: 09/30/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving an original asynchronous procedure call (APC) on a kernel portion of a user mode schedulable (UMS) thread during an execution of the UMS thread, the UMS thread including a UMS thread user portion for execution in the user mode and a UMS thread kernel portion for execution in a kernel mode that are independently managed by an application, in which execution switch between the UMS thread user portion and the UMS thread kernel portion during the execution of the UMS thread is performed via a primary thread that exchange context information with the UMS thread, the primary thread having a primary thread user portion and a primary thread kernel portion that are managed in unison by the application;

    determining a status of the UMS thread that is being processed in a multi-processor environment, wherein the status includes one of the UMS thread executing in kernel mode, the UMS thread executing via the primary thread in user mode, the UMS thread engaging in a context migration with the primary thread, the UMS thread being idle, the UMS thread engaging in a context loading with the primary thread, or the UMS thread engaging in a context saving with the primary thread; and

    processing the original APC on the UMS thread based on the status of the UMS thread.

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