diff options
Diffstat (limited to 'doc/html/interprocess/customizing_interprocess.html')
-rw-r--r--[-rwxr-xr-x] | doc/html/interprocess/customizing_interprocess.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/interprocess/customizing_interprocess.html b/doc/html/interprocess/customizing_interprocess.html index ae942c9533..8c17e2b254 100755..100644 --- a/doc/html/interprocess/customizing_interprocess.html +++ b/doc/html/interprocess/customizing_interprocess.html @@ -60,7 +60,7 @@ <span class="comment">//!The pointer type to be used by the rest of Interprocess framework</span> <span class="keyword">typedef</span> <span class="identifier">implementation_defined</span> <span class="identifier">void_pointer</span><span class="special">;</span> - <span class="comment">//!Constructor. "size" is the total size of the managed memory segment, </span> + <span class="comment">//!Constructor. "size" is the total size of the managed memory segment,</span> <span class="comment">//!"extra_hdr_bytes" indicates the extra bytes after the sizeof(my_algorithm)</span> <span class="comment">//!that the allocator should not use at all.</span> <span class="identifier">my_algorithm</span> <span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">size</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">extra_hdr_bytes</span><span class="special">);</span> @@ -234,10 +234,10 @@ <span class="identifier">segment_mngr</span><span class="special">-></span><span class="identifier">construct</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="string">"My_Int"</span><span class="special">)[</span><span class="number">32</span><span class="special">](</span><span class="number">0</span><span class="special">);</span> <span class="identifier">segment_mngr</span><span class="special">-></span><span class="identifier">destroy</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="string">"My_Int"</span><span class="special">);</span> -<span class="comment">//Initialize the custom, managed memory segment compatible </span> +<span class="comment">//Initialize the custom, managed memory segment compatible</span> <span class="comment">//allocator with the segment manager.</span> <span class="comment">//</span> -<span class="comment">//MySTLAllocator uses segment_mngr->xxx functions to </span> +<span class="comment">//MySTLAllocator uses segment_mngr->xxx functions to</span> <span class="comment">//implement its allocation scheme</span> <span class="identifier">MySTLAllocator</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">stl_alloc</span><span class="special">(</span><span class="identifier">segment_mngr</span><span class="special">);</span> @@ -454,7 +454,7 @@ Defining a new managed memory segment that uses the new index is easy. For example, a new managed shared memory that uses the new index: </p> -<pre class="programlisting"><span class="comment">//!Defines a managed shared memory with a c-strings as </span> +<pre class="programlisting"><span class="comment">//!Defines a managed shared memory with a c-strings as</span> <span class="comment">//!a keys, the red-black tree best fit algorithm (with process-shared mutexes</span> <span class="comment">//!and offset_ptr pointers) as raw shared memory management algorithm</span> <span class="comment">//!and a custom index</span> |