Regaining control of a processing resource that executes an external execution context

US9417914B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9417914-B2
Application numberUS-13112708-A
CountryUS
Kind codeB2
Filing dateJun 2, 2008
Priority dateJun 2, 2008
Publication dateAug 16, 2016
Grant dateAug 16, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A scheduler in a process of a computer system allows an external execution context to execute on a processing resource allocated to the scheduler. The scheduler provides control of the processing resource to the external execution context. The scheduler registers for a notification of an exit event associated with the external execution context. In response to receiving the notification that the exit event has occurred, the scheduler regains control of the processing resource and causes a task associated with an execution context controlled by the scheduler to be executed by the processing resource.

First claim

Opening claim text (preview).

What is claimed is: 1. A method performed by a scheduler of a process executing on a computer system, the method comprising: providing a first processing resource of the scheduler for use by a first execution context such that the first processing resource is not under control of the scheduler, the first execution context is external to the scheduler and is created and controlled by the process; registering for a notification of an exit event associated with the first external context; and regaining control of the first processing resource in response to receiving the notification of the exit event. 2. The method of claim 1 further comprising: executing the first execution context with the first processing resource. 3. The method of claim 1 further comprising: executing a task of the scheduler on the first processing resource subsequent to regaining control of the first processing resource. 4. The method of claim 3 further comprising: associating the task with a second execution context prior to executing the task. 5. The method of claim 4 wherein the scheduler created the second execution context. 6. The method of claim 1 further comprising: executing a task of the scheduler on the first processing resource prior to providing the first processing resource for use by the first execution context. 7. The method of claim 1 further comprising: registering for the notification of the exit event associated with the first execution context with one of an operating system or a runtime environment. 8. The method of claim 1 further comprising: executing a task of the scheduler on a second processing resource of the scheduler subsequent to providing the first processing resource for use by the first execution context and prior to regaining control of the first processing resource. 9. The method of claim 1 wherein the first processing resource includes a virtual processor and a hardware thread. 10. A system comprising: processor packages and memory configured to: execute a scheduler in a process to provide a processing resource allocated to the scheduler for use by an autonomous execution context external to the scheduler, the autonomous execution context is created and controlled by the process; execute a runtime environment; execute an operating system; one of the execution of the runtime environment and the execution of the operating system to: receive a request for a notification of an exit event associated with the autonomous execution context executing on the processing resource allocated to the scheduler in the process; and provide the notification of the exit event to the scheduler in response to detecting that the exit event has occurred. 11. The system of claim 10 , one of the execution of the runtime environment and the execution of the operating system to: add a handle identifying the autonomous execution context to a wait array. 12. The system of claim 10 , one of the execution of the runtime environment and the execution of the operating system to: detect that the exit event has occurred by detecting that the autonomous execution context has exited. 13. The system of claim 10 wherein the autonomous execution context controls the processing resource of the scheduler. 14. A computer readable hardware storage device storing computer-executable instructions that, when executed by a computer system, perform a method comprising: executing a first execution context on a processing resource provided from a scheduler of a process to the first execution context such that the processing resource is not under control of the scheduler, the first execution context is external to the scheduler and is created and controlled by the process; registering for a notification of an exit event associated with the first execution context provided to the scheduler in the process executing on the computer system; and executing a first task on the processing resource subsequent to receiving the notification of the exit event. 15. The computer readable hardware storage device of claim 14 , the method further comprising: creating the first execution context with the process prior to providing the first execution context to the scheduler. 16. The computer readable hardware storage device of claim 14 , the method further comprising: creating a second execution context with the scheduler; and associating the first task with the second execution context prior to executing the task. 17. The computer readable hardware storage device of claim 14 , the method further comprising: converting the first execution context in the process to an autonomous execution context that includes the first execution context that gains control of the processing resource. 18. The computer readable hardware storage device of claim 14 , the method further comprising: registering for the notification of the exit event with one of an operating system or a runtime environment. 19. The computer readable hardware storage device of claim 14 , the method further comprising: executing a second task of the scheduler on a second processing resource of the scheduler while executing the first execution context on the first processing resource. 20. The computer readable hardware storage device of claim 14 wherein the first processing resource includes a virtual processor and a hardware thread.

Assignees

Inventors

Classifications

  • the resource being the memory · CPC title

  • the resources being hardware resources other than CPUs, Servers and Terminals · CPC title

  • G06F9/50Primary

    Allocation of resources, e.g. of the central processing unit [CPU] · CPC title

  • Mechanisms to release resources · CPC title

  • G06F9/5027Primary

    the resource being a machine, e.g. CPUs, Servers, Terminals · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9417914B2 cover?
A scheduler in a process of a computer system allows an external execution context to execute on a processing resource allocated to the scheduler. The scheduler provides control of the processing resource to the external execution context. The scheduler registers for a notification of an exit event associated with the external execution context. In response to receiving the notification that th…
Who is the assignee on this patent?
Ringseth Paul, Fernandes Genevieve, Microsoft Technology Licensing Llc
What technology area does this patent fall under?
Primary CPC classification G06F9/50. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 16 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).