Managing callback operations in emulated environments
First Claim
1. A system comprising:
- a memory area associated with a computing device, said memory area storing instructions for managing a callback; and
a processor programmed to;
execute an emulated thread;
detect a request for a first asynchronous callback operation, the first asynchronous callback operation associated with a first asynchronous callback thread;
determine a first execution mode associated with the first asynchronous callback operation; and
based on the first execution mode, adjust the execution of the emulated thread and execute the first asynchronous callback thread associated with the first asynchronous callback operation.
2 Assignments
0 Petitions
Accused Products
Abstract
Examples of the disclosure enable callback operations, such as interrupts, Asynchronous Procedure Calls (APCs), and Deferred Procedure Calls (DPCs), to be efficiently managed. In some examples, an emulated thread includes a request for a callback operation. When the request is detected, the emulated thread and/or a cooperating thread associated with the callback operation is executed based on an execution mode associated with the callback operation. Examples of the disclosure manage callback operations while efficiently managing system resources, including processor load, by providing at least one cooperating thread that consumes little or no processing power until the callback operation is ready to be executed.
26 Citations
20 Claims
-
1. A system comprising:
-
a memory area associated with a computing device, said memory area storing instructions for managing a callback; and a processor programmed to; execute an emulated thread; detect a request for a first asynchronous callback operation, the first asynchronous callback operation associated with a first asynchronous callback thread; determine a first execution mode associated with the first asynchronous callback operation; and based on the first execution mode, adjust the execution of the emulated thread and execute the first asynchronous callback thread associated with the first asynchronous callback operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method executing on a computing device for managing at least one callback operation, said method comprising:
-
executing, by a processor, a base thread; detecting a request for a first callback operation, the first callback operation associated with a first callback thread; based on a first execution mode associated with the first callback operation, adjusting the execution of the base thread and executing the first callback thread. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. One or more computer storage media embodying computer-executable components, said components comprising:
-
a callback detection component that, when executed by at least one processor, causes the at least one processor to detect a request for a callback operation, and determine an execution mode associated with the callback operation; and a thread execution component that, when executed by the at least one processor, causes the at least one processor to execute a first thread including the request for the callback operation, and, based on the execution mode, execute a second thread associated with the callback operation, wherein the execution of the first thread is adjusted based on the execution mode. - View Dependent Claims (19, 20)
-
Specification