Patent · US Active

Method and system for maintaining context event logs without locking in virtual machine

US9003131B1 · kind B1 · utility

15Cited by
1References
11Claims
0Family size

Assignee

Inventor

Key dates

Filing dateMar 27, 2013
Grant dateApr 7, 2015
Priority date
Expiry dateOct 23, 2033

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2212/6042
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

System for working with shared memory includes a plurality of contexts, each having executable processes writing and reading data; a ring buffer in the shared memory for writing and reading data by the contexts; a software primitive manages access attempts by the contexts to the ring buffer. Each context, upon writing to the ring buffer, is allocated an amount of space up to a maximum available at that moment. The software primitive guarantees consistency of the data written to the ring buffer. The software primitive permits simultaneous writing into the buffer by multiple contexts. After finishing writing to the buffer, the context updates a state of the buffer by decrementing the count of the active writers and/or by shifting the permitting pointers for communicating with writers and readers. A context can read from the buffer only data is marked as valid for reading by the context that wrote that data.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.