Method and apparatus for sharing standard template library objects among processes
AssigneeOpenwave Systems Inc.
InventorVijapurapu V. Anantharao
Life of this patent
Estimating the term…
Abstract
A method and apparatus for sharing data structures among multiple processes by using STL (Standard Template Library) objects in a shared memory segment.
Claims29
A method for using an allocator to conduct garbage collection, the allocator capable of allocating storage for a user STL object in a shared memory segment common to a plurality of processes, comprising:
- creating a first map containing a plurality of nodes representing a plurality of free blocks, each free block represented in the first map by a node in the plurality of nodes denoting a size and an address of the free block;
- responding to an allocation request;
- and
- responding to a deletion request by entering a size and an address of a deleted block into the first map.
An apparatus comprising a computer-readable medium having a plurality of sequences of instructions stored thereon including sequences of instructions which, when executed by one or more processors, cause said one or more processors to:
- create a first map containing a plurality of nodes representing a plurality of free blocks, each free block represented in the first map by a node in the plurality of nodes denoting a size and an address of the free block;
- respond to an allocation request;
- and
- respond to a deletion request by entering a size and an address of a deleted block into the first map.
A computer-implemented method for sharing data structures among processes by using a shared memory segment, comprising:
- creating the shared memory segment;
- anchoring a system STL (Standard Template Library) map in the shared memory segment;
- receiving a user STL object;
- obtaining an address for the user STL object;
- and
- inserting the user STL object into the system STL map.
Dependencies are inferred from the claim text.