Invention Grant
- Patent Title: Allocate a segment of a buffer to each of a plurality of threads to use for writing data
-
Application No.: US15808827Application Date: 2017-11-09
-
Publication No.: US10176101B2Publication Date: 2019-01-08
- Inventor: Herve G. P. Andre , Juan J. Ruiz , Trung N. Nguyen
- Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Konrad Raynes Davda & Victor LLP
- Agent David W. Victor
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F12/0864 ; G06F9/50

Abstract:
Provided are a computer program product, system, and method to allocate a segment of a buffer to each of a plurality of threads to use for writing data. Each of a plurality of threads are assigned to one of a plurality of segments in a buffer, wherein the threads write to the segment to which they are assigned. A free segment list indicates segments which are not assigned to one of the threads. In response to one of the segments assigned to one of the threads becoming a full segment having less than a threshold amount of free space, indicating the full segment assigned to the thread in the free segment list and assigning one of the segments in the free segment list to the thread different from the full segment.
Public/Granted literature
- US20180067862A1 ALLOCATE A SEGMENT OF A BUFFER TO EACH OF A PLURALITY OF THREADS TO USE FOR WRITING DATA Public/Granted day:2018-03-08
Information query