Asynchronous dispatcher for application framework
AssigneeHome Box Office, Inc.
InventorsPatrick Finnigan, Nathan J. E. Furtwangler, Brendan Joseph Clark, Brandon C. Furtwangler
Life of this patent
Estimating the term…
Abstract
The described technology is directed towards an asynchronous dispatcher including control logic that manages a queue set, including to dequeue and execute work items from the queue on behalf of application code executing in a program. The dispatcher yields control to the program to allow the program and application code to be responsive with respect to user interface operations.
Claims20
A system, comprising:
- a processor;
- and
- a memory communicatively coupled to the processor, the memory having stored therein computer-executable instructions, comprising:
- an asynchronous dispatcher, the asynchronous dispatcher coupled to a queue set comprising at least one queue, wherein the asynchronous dispatcher is configured to:
- dequeue and execute work items from the queue set on behalf of application code running in a program within a frame;
- and
- in response to at least one work item remaining in the queue set after a threshold cutoff time that is prior to an end-of-frame time boundary of the frame, yield execution control to the program.
A method comprising:
- in response to determining within a frame that at least one work item exists in a queue set comprising at least one queue, dequeuing and executing, by a system comprising a processor via an asynchronous dispatcher, a work item of the at least one work item on behalf of application code running in a program;
- and in response to determining at least one work item remaining in the queue set after a threshold cutoff time that is prior to an end-of-frame time boundary of the frame, yielding, by the asynchronous dispatcher, execution control to the program.
A non-transitory machine-readable media having machine-executable instructions, which when executed by a processor perform operations, comprising:
- in response to determining within a frame that at least one work item exists in a queue set comprising at least one queue, dequeuing and executing, by an asynchronous dispatcher, a work item of the at least one work item on behalf of application code running in a program;
- and
- in response to determining at least one work item remaining in the queue set after a threshold cutoff time that is prior to an end-of-frame time boundary of the frame, yielding, by the asynchronous dispatcher, execution control to the program.
Dependencies are inferred from the claim text.