Invention Grant
US09003131B1 Method and system for maintaining context event logs without locking in virtual machine 有权
维护上下文事件日志而不锁定虚拟机的方法和系统

Method and system for maintaining context event logs without locking in virtual machine
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.
Information query
Patent Agency Ranking
0/0