Invention Grant
- Patent Title: Multi-threaded logging
- Patent Title (中): 多线程日志记录
-
Application No.: US13745173Application Date: 2013-01-18
-
Publication No.: US09274798B2Publication Date: 2016-03-01
- Inventor: Robert Graeme Burnett
- Applicant: Morgan Stanley
- Applicant Address: US NY New York
- Assignee: Morgan Stanley
- Current Assignee: Morgan Stanley
- Current Assignee Address: US NY New York
- Agency: K&L Gates LLP
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F9/38 ; G06F11/36 ; G06F9/52 ; G06F11/07

Abstract:
A data slot may be reserved for a first thread selected from a plurality of threads executed by a computer system. A memory of the computer system may comprise a plurality of log files and a next free data slot pointer. Each log file may comprise a plurality of data slots and each of the data slots may be of a common size. Reserving the data slot for the first thread may comprise attempting to perform a first atomic operation to write to a first data slot pointed to by a current value of the next free data slot pointer an indication that the first data slot is filled. If the first atomic operation is successful, the computer system may update the next free data slot pointer to point to a second data slot positioned sequentially after the first data slot. If the first atomic operation is unsuccessful, the computer system may analyze the second data slot.
Public/Granted literature
- US20140208083A1 MULTI-THREADED LOGGING Public/Granted day:2014-07-24
Information query