Invention Grant
- Patent Title: Efficient sequencer for multiple concurrently-executing threads of execution
-
Application No.: US15401422Application Date: 2017-01-09
-
Publication No.: US10310915B2Publication Date: 2019-06-04
- Inventor: Oleksandr Otenko
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee Address: US CA Redwood Shores
- Agency: Kilpatrick Townsend & Stockton LLP
- Main IPC: G06F9/52
- IPC: G06F9/52 ; G06F9/48

Abstract:
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.
Public/Granted literature
- US20170123861A1 EFFICIENCY SEQUENCER FOR MULTIPLE CONCURRENTLY-EXECUTING THREADS OF EXECUTION Public/Granted day:2017-05-04
Information query