Efficiency sequencer for multiple concurrently-executing threads of execution
AssigneeOracle International Corporation
InventorOleksandr Otenko
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorOleksandr Otenko
Estimating the term…
Techniques are disclosed for efficiently sequencing operations performed in multiple threads of execution in a computer system. In one set of embodiments, sequencing is performed by receiving an instruction to advance a designated next ticket value, incrementing the designated next ticket value in response to receiving the instruction, searching a waiters list of tickets for an element having the designated next ticket value, wherein searching does not require searching the entire waiters list, and the waiters list is in a sorted order based on the values of the tickets, and removing the element having the designated next ticket value from the list using a single atomic operation. The element may be removed by setting a waiters list head element, in a single atomic operation, to refer to an element in the list having a value based upon the designated next ticket value.
A method comprising:
A system comprising:
A non-transitory machine-readable medium for a computer system, the non-transitory machine-readable medium having stored thereon a series of instructions executable by a processor, the series of instructions comprising:
Dependencies are inferred from the claim text.