Invention Grant
- Patent Title: Multi-lane concurrent bag for facilitating inter-thread communication
- Patent Title (中): 多通道并发包,方便线程间通信
-
Application No.: US13241015Application Date: 2011-09-22
-
Publication No.: US08689237B2Publication Date: 2014-04-01
- Inventor: David Dice , Oleksandr Otenko
- Applicant: David Dice , Oleksandr Otenko
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/46

Abstract:
A method, system, and medium are disclosed for facilitating communication between multiple concurrent threads of execution using a multi-lane concurrent bag. The bag comprises a plurality of independently-accessible concurrent intermediaries (lanes) that are each configured to store data elements. The bag provides an insert function executable to insert a given data element into the bag by selecting one of the intermediaries and inserting the data element into the selected intermediary. The bag also provides a consume function executable to consume a data element from the bag by choosing one of the intermediaries and consuming (removing and returning) a data element stored in the chosen intermediary. The bag guarantees that execution of the consume function consumes a data element if the bag is non-empty and permits multiple threads to execute the insert or consume functions concurrently.
Public/Granted literature
- US20130081061A1 Multi-Lane Concurrent Bag for Facilitating Inter-Thread Communication Public/Granted day:2013-03-28
Information query