diff options
Diffstat (limited to 'doc/html/interprocess/managed_memory_segments.html')
-rw-r--r-- | doc/html/interprocess/managed_memory_segments.html | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/html/interprocess/managed_memory_segments.html b/doc/html/interprocess/managed_memory_segments.html index 2adde882ab..9fa76e6f64 100644 --- a/doc/html/interprocess/managed_memory_segments.html +++ b/doc/html/interprocess/managed_memory_segments.html @@ -380,13 +380,13 @@ <p> Windows users might also want to use native windows shared memory instead of the portable <code class="computeroutput"><a class="link" href="../boost/interprocess/shared_memory_object.html" title="Class shared_memory_object">shared_memory_object</a></code> - managed memory. This is achieved through the <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_managed__idp35404080.html" title="Class template basic_managed_windows_shared_memory">basic_managed_windows_shared_memory</a></code> + managed memory. This is achieved through the <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_ma_idm45879391340624.html" title="Class template basic_managed_windows_shared_memory">basic_managed_windows_shared_memory</a></code> class. To use it just include: </p> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">interprocess</span><span class="special">/</span><span class="identifier">managed_windows_shared_memory</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> </pre> <p> - This class has the same interface as <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_managed__idp35346336.html" title="Class template basic_managed_shared_memory">basic_managed_shared_memory</a></code> + This class has the same interface as <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_ma_idm45879391398368.html" title="Class template basic_managed_shared_memory">basic_managed_shared_memory</a></code> but uses native windows shared memory. Note that this managed class has the same lifetime issues as the windows shared memory: when the last process attached to the windows shared memory is detached from the memory (or ends/crashes) @@ -407,18 +407,18 @@ <p> Unix users might also want to use XSI (system V) instead of the portable <code class="computeroutput"><a class="link" href="../boost/interprocess/shared_memory_object.html" title="Class shared_memory_object">shared_memory_object</a></code> - managed memory. This is achieved through the <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_managed__idp35452800.html" title="Class template basic_managed_xsi_shared_memory">basic_managed_xsi_shared_memory</a></code> + managed memory. This is achieved through the <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_ma_idm45879391291904.html" title="Class template basic_managed_xsi_shared_memory">basic_managed_xsi_shared_memory</a></code> class. To use it just include: </p> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">interprocess</span><span class="special">/</span><span class="identifier">managed_xsi_shared_memory</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> </pre> <p> - This class has nearly the same interface as <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_managed__idp35346336.html" title="Class template basic_managed_shared_memory">basic_managed_shared_memory</a></code> + This class has nearly the same interface as <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_ma_idm45879391398368.html" title="Class template basic_managed_shared_memory">basic_managed_shared_memory</a></code> but uses XSI shared memory as backend. </p> </div> <p> - For more information about managed XSI shared memory capabilities, see <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_managed__idp35452800.html" title="Class template basic_managed_xsi_shared_memory">basic_managed_xsi_shared_memory</a></code> + For more information about managed XSI shared memory capabilities, see <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_ma_idm45879391291904.html" title="Class template basic_managed_xsi_shared_memory">basic_managed_xsi_shared_memory</a></code> class reference. </p> </div> @@ -810,7 +810,7 @@ That is, the mutex type used to synchronize named/unique allocations is defined by the <code class="computeroutput"><span class="identifier">MemoryAlgorithm</span><span class="special">::</span><span class="identifier">mutex_family</span><span class="special">::</span><span class="identifier">recursive_mutex_type</span></code> type. For shared memory, and memory mapped file based managed segments - this recursive mutex is defined as <code class="computeroutput"><a class="link" href="../boost/interprocess/interprocess_r_idp36585488.html" title="Class interprocess_recursive_mutex">interprocess_recursive_mutex</a></code>. + this recursive mutex is defined as <code class="computeroutput"><a class="link" href="../boost/interprocess/interpro_idm45879390093552.html" title="Class interprocess_recursive_mutex">interprocess_recursive_mutex</a></code>. </p> <p> If two processes can call: @@ -1805,7 +1805,6 @@ <span class="identifier">managed_shared_memory</span><span class="special">::</span><span class="identifier">size_type</span> <span class="identifier">expanded_size</span> <span class="special">=</span> <span class="identifier">first_received_size</span><span class="special">*</span><span class="number">3</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="special">*</span> <span class="identifier">ret</span> <span class="special">=</span> <span class="identifier">managed_shm</span><span class="special">.</span><span class="identifier">allocation_command</span> <span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">interprocess</span><span class="special">::</span><span class="identifier">expand_fwd</span><span class="special">,</span> <span class="identifier">min_size</span><span class="special">,</span> <span class="identifier">expanded_size</span><span class="special">,</span> <span class="identifier">ptr</span><span class="special">);</span> - <span class="comment">//Check invariants</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">ptr</span> <span class="special">!=</span> <span class="number">0</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">ret</span> <span class="special">==</span> <span class="identifier">ptr</span><span class="special">);</span> @@ -2170,7 +2169,7 @@ can also be used to place STL compatible containers in the user segment. </p> <p> - <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_managed__idp35237824.html" title="Class template basic_managed_external_buffer">basic_managed_external_buffer</a></code> + <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_ma_idm45879391506880.html" title="Class template basic_managed_external_buffer">basic_managed_external_buffer</a></code> can be also useful to build small databases for embedded systems limiting the size of the used memory to a predefined memory chunk, instead of letting the database fragment the heap memory. @@ -2228,7 +2227,7 @@ <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">interprocess</span><span class="special">/</span><span class="identifier">managed_heap_memory</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> </pre> <p> - The use is exactly the same as <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_managed__idp35237824.html" title="Class template basic_managed_external_buffer">basic_managed_external_buffer</a></code>, + The use is exactly the same as <code class="computeroutput"><a class="link" href="../boost/interprocess/basic_ma_idm45879391506880.html" title="Class template basic_managed_external_buffer">basic_managed_external_buffer</a></code>, except that memory is created by the managed memory segment itself using dynamic (new/delete) memory. </p> |