Home | History | Annotate | Download | only in base

Lines Matching defs:memory

27 // the underlying OS handle to a shared memory segment.
32 // A SharedMemoryId is sufficient to identify a given shared memory segment on a
41 // Platform abstraction for shared memory. Provides a C++ wrapper
42 // around the OS primitive for a memory mapped file.
55 // shared memory file.
59 // shared memory file that was created by a remote process and not shared
74 // Closes a shared memory handle.
77 // Creates and maps an anonymous shared memory segment of size size.
81 // Creates an anonymous shared memory segment of size size.
85 // Creates or opens a shared memory segment based on a name.
86 // If open_existing is true, and the shared memory already exists,
87 // opens the existing shared memory and ignores the size parameter.
88 // If open_existing is false, shared memory must not exist.
93 // Deletes resources associated with a shared memory segment based on name.
97 // Opens a shared memory segment based on a name.
102 // Maps the shared memory into the caller's address space.
103 // Returns true on success, false otherwise. The memory address
104 // is accessed via the memory() accessor.
107 // Unmaps the shared memory from the caller's address space.
109 // memory is not mapped.
112 // Get the size of the shared memory backing file.
114 // shared memory, and not to those that opened shared memory
122 // Gets a pointer to the opened memory space if it has been
124 void *memory() const { return memory_; }
132 // Returns a unique identifier for this shared memory segment. Inode numbers
134 // allocate shared memory backing files from the same directory, so will end
139 // Closes the open shared memory segment.
143 // Shares the shared memory to another process. Attempts
145 // used in a remote process to access the shared memory
158 // Note that the memory is unmapped by calling this method, regardless of the
165 // Locks the shared memory.
184 // Releases the shared memory lock.
215 // A helper class that acquires the shared memory lock while