Safe buffer
Abstract
A method and system for implementing a safe buffer is described herein. The method includes implementing a buffer class that ensures that accesses to memory are performed in a safe manner. The buffer class may be a handle to protected resources in memory. The buffer class may exploit methods to read and write to memory that ensures that read and writes are performed to valid memory locations within buffer bounds.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 36 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: creating a safe buffer associated with a memory resource, the safe buffer created for a runtime agent executing in a managed execution environment; wrapping the memory resource with a wrapper, the wrapper including a counter, wherein a value of the counter indicates a number of threads that are using the safe buffer created for the runtime agent executing in the managed execution environment, and wherein the value of the counter is set to one upon creation of the safe buffer; upon determining that a thread is using the safe buffer, incrementing the va
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (36)
Non-Patent Literature (5)
- "Memory Mapped Files," <<http://www.ecst.csuchico.edu/˜beej/guide/ipc/mmap.html>>, Brian "Beej" Hall, printed Feb. 22, 2007, 5 pages.
- "Memory Mapped Files," >, Brian "Beej" Hall, printed Feb. 22, 2007, 5 pages.
- Advisory Action for U.S. Appl. No. 10/853,420 received from the United States Patent and Trademark Office (USPTO), mailed Sep. 17, 2007, 3 pages.
- Final Office Action for U.S. Appl. No. 10/853,420 received from the United States Patent and Trademark Office (USPTO), mailed Jul. 24, 2008, 23 pages.
- Final Office Action for U.S. Appl. No. 10/853,420 received from the United States Patent and Trademark Office (USPTO), mailed Jun. 4, 2007, 20 pages.