US 12,360,926 B2
Buffering elements for processing
Jeffrey S. Richards, Aurora, IL (US)
Assigned to Trading Technologies International, Inc., Chicago, IL (US)
Filed by TRADING TECHNOLOGIES INTERNATIONAL, INC., Chicago, IL (US)
Filed on Dec. 19, 2022, as Appl. No. 18/084,276.
Prior Publication US 2024/0202143 A1, Jun. 20, 2024
Int. Cl. G06F 13/16 (2006.01)
CPC G06F 13/1673 (2013.01) [G06F 2213/16 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A system including:
a memory configured to provide:
a first buffer for storing a number of elements for processing; and
a second buffer for storing elements for adding to the first buffer; and
at least one processor configured to:
obtain an element to be processed;
determine that the number of elements in the first buffer is greater than a first threshold;
implement a number of worker threads that add elements to the first buffer, wherein the first threshold is at most the total number of elements for which the first buffer has capacity less the number of worker threads; and
add the obtained element to the second buffer.