Reducing call stack usage for future object completions
AssigneeRed Hat, Inc.
InventorsJulien Viet, Thomas Segismont
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat, Inc.
InventorsJulien Viet, Thomas Segismont
Estimating the term…
Reducing call stack usage for future object completions is disclosed herein. In one example, a processor device of a computing device employs a completion queue when managing completions of future objects. When a future object is determined to have a status of complete, the processor device determines whether the current thread of the future object is associated with a completion queue. If so, a completion operation of the future object is enqueued in the completion queue. If the current thread is not associated with a completion queue, one is created and associated with the current thread, and the completion operation of the future object is performed. After completion, if the completion queue is not empty, any enqueued completion operations are dequeued and performed. Once the completion queue is empty, the completion queue is removed.
A computing device, comprising:
A method, comprising:
A non-transitory computer-readable medium having stored thereon computer-executable instructions that, when executed, cause one or more processor devices to:
Dependencies are inferred from the claim text.