1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>Acknowledgements, notes and links</title> 6<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> 7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 8<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> 9<link rel="up" href="../interprocess.html" title="Chapter 18. Boost.Interprocess"> 10<link rel="prev" href="customizing_interprocess.html" title="Customizing Boost.Interprocess"> 11<link rel="next" href="indexes_reference.html" title="Indexes and Reference"> 12</head> 13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 14<table cellpadding="2" width="100%"><tr> 15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td> 16<td align="center"><a href="../../../index.html">Home</a></td> 17<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td> 18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 20<td align="center"><a href="../../../more/index.htm">More</a></td> 21</tr></table> 22<hr> 23<div class="spirit-nav"> 24<a accesskey="p" href="customizing_interprocess.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../interprocess.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="indexes_reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a> 25</div> 26<div class="section"> 27<div class="titlepage"><div><div><h2 class="title" style="clear: both"> 28<a name="interprocess.acknowledgements_notes"></a><a class="link" href="acknowledgements_notes.html" title="Acknowledgements, notes and links">Acknowledgements, 29 notes and links</a> 30</h2></div></div></div> 31<div class="toc"><dl class="toc"> 32<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_windows">Notes 33 for Windows users</a></span></dt> 34<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_linux">Notes 35 for Linux users</a></span></dt> 36<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_freebsd">Notes 37 for FreeBSD users</a></span></dt> 38<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.thanks_to">Thanks 39 to...</a></span></dt> 40<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes">Release 41 Notes</a></span></dt> 42<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.books_and_links">Books 43 and interesting links</a></span></dt> 44<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements">Future 45 improvements...</a></span></dt> 46</dl></div> 47<div class="section"> 48<div class="titlepage"><div><div><h3 class="title"> 49<a name="interprocess.acknowledgements_notes.notes_windows"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_windows" title="Notes for Windows users">Notes 50 for Windows users</a> 51</h3></div></div></div> 52<div class="toc"><dl class="toc"> 53<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_windows.notes_windows_com_init">COM 54 Initialization</a></span></dt> 55<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_windows.notes_windows_shm_folder">Shared 56 memory emulation folder</a></span></dt> 57<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_windows.boost_use_windows_h">BOOST_USE_WINDOWS_H 58 support</a></span></dt> 59</dl></div> 60<div class="section"> 61<div class="titlepage"><div><div><h4 class="title"> 62<a name="interprocess.acknowledgements_notes.notes_windows.notes_windows_com_init"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_windows.notes_windows_com_init" title="COM Initialization">COM 63 Initialization</a> 64</h4></div></div></div> 65<p> 66 <span class="bold"><strong>Boost.Interprocess</strong></span> uses the Windows COM 67 library to implement some features and initializes it with concurrency 68 model <code class="computeroutput"><span class="identifier">COINIT_APARTMENTTHREADED</span></code>. 69 If the COM library was already initialized by the calling thread for another 70 concurrency model, <span class="bold"><strong>Boost.Interprocess</strong></span> 71 handles this gracefully and uses COM calls for the already initialized 72 model. If for some reason, you want <span class="bold"><strong>Boost.Interprocess</strong></span> 73 to initialize the COM library with another model, define the macro <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_WINDOWS_COINIT_MODEL</span></code> 74 before including <span class="bold"><strong>Boost.Interprocess</strong></span> to 75 one of these values: 76 </p> 77<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 78<li class="listitem"> 79 <code class="computeroutput"><span class="identifier">COINIT_APARTMENTTHREADED_BIPC</span></code> 80 </li> 81<li class="listitem"> 82 <code class="computeroutput"><span class="identifier">COINIT_MULTITHREADED_BIPC</span></code> 83 </li> 84<li class="listitem"> 85 <code class="computeroutput"><span class="identifier">COINIT_DISABLE_OLE1DDE_BIPC</span></code> 86 </li> 87<li class="listitem"> 88 <code class="computeroutput"><span class="identifier">COINIT_SPEED_OVER_MEMORY_BIPC</span></code> 89 </li> 90</ul></div> 91</div> 92<div class="section"> 93<div class="titlepage"><div><div><h4 class="title"> 94<a name="interprocess.acknowledgements_notes.notes_windows.notes_windows_shm_folder"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_windows.notes_windows_shm_folder" title="Shared memory emulation folder">Shared 95 memory emulation folder</a> 96</h4></div></div></div> 97<p> 98 Shared memory (<code class="computeroutput"><span class="identifier">shared_memory_object</span></code>) 99 is implemented in Windows using memory mapped files, placed in a shared 100 directory in the shared documents folder (<code class="computeroutput"><span class="identifier">SOFTWARE</span><span class="special">\</span><span class="identifier">Microsoft</span><span class="special">\</span><span class="identifier">Windows</span><span class="special">\</span><span class="identifier">CurrentVersion</span><span class="special">\</span><span class="identifier">Explorer</span><span class="special">\</span><span class="identifier">Shell</span> <span class="identifier">Folders</span><span class="special">\</span><span class="identifier">Common</span> <span class="identifier">AppData</span></code>). 101 This directory name is the last bootup time obtained via COM calls (if 102 <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME</span></code>) 103 defined or searching the system log for a startup event (the default implementation), 104 so that each bootup shared memory is created in a new folder obtaining 105 kernel persistence shared memory. 106 </p> 107<p> 108 If using <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME</span></code>, 109 due to COM implementation related errors, in Boost 1.48 & Boost 1.49 110 the bootup-time folder was dumped and files were directly created in shared 111 documents folder, reverting to filesystem persistence shared memory. Boost 112 1.50 fixed those issues and recovered bootup time directory and kernel 113 persistence. If you need to reproduce Boost 1.48 & Boost 1.49 behaviour 114 to communicate with applications compiled with that version, comment <code class="computeroutput"><span class="preprocessor">#define</span> <span class="identifier">BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME</span></code> 115 directive in the Windows configuration part of <code class="computeroutput"><span class="identifier">boost</span><span class="special">/</span><span class="identifier">interprocess</span><span class="special">/</span><span class="identifier">detail</span><span class="special">/</span><span class="identifier">workaround</span><span class="special">.</span><span class="identifier">hpp</span></code>. 116 </p> 117<p> 118 If using the default implementation, (<code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME</span></code> 119 undefined) and the Startup Event is not found, this might be due to some 120 buggy software that floods or erases the event log. 121 </p> 122<p> 123 In any error case (shared documents folder is not defined or bootup time 124 could not be obtained, the library throws an error. You still can use 125 <span class="bold"><strong>Boost.Interprocess</strong></span> defining your own directory 126 as the shared directory. When your shared directory is a compile-time constant, 127 define <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_SHARED_DIR_PATH</span></code> 128 when using the library and that path will be used to place shared memory 129 files. When you have to determine the shared directory at runtime, define 130 <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_SHARED_DIR_FUNC</span></code> 131 and implement the function 132 </p> 133<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 134 <span class="keyword">namespace</span> <span class="identifier">interprocess</span> <span class="special">{</span> 135 <span class="keyword">namespace</span> <span class="identifier">ipcdetail</span> <span class="special">{</span> 136 <span class="keyword">void</span> <span class="identifier">get_shared_dir</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="identifier">shared_dir</span><span class="special">);</span> 137 <span class="special">}</span> 138 <span class="special">}</span> 139<span class="special">}</span> 140</pre> 141</div> 142<div class="section"> 143<div class="titlepage"><div><div><h4 class="title"> 144<a name="interprocess.acknowledgements_notes.notes_windows.boost_use_windows_h"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_windows.boost_use_windows_h" title="BOOST_USE_WINDOWS_H support">BOOST_USE_WINDOWS_H 145 support</a> 146</h4></div></div></div> 147<p> 148 If <code class="computeroutput"><span class="identifier">BOOST_USE_WINDOWS_H</span></code> 149 is defined, <windows.h> and other windows SDK files are included, 150 otherwise the library declares needed functions and structures to reduce 151 the impact of including those heavy headers. 152 </p> 153</div> 154</div> 155<div class="section"> 156<div class="titlepage"><div><div><h3 class="title"> 157<a name="interprocess.acknowledgements_notes.notes_linux"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_linux" title="Notes for Linux users">Notes 158 for Linux users</a> 159</h3></div></div></div> 160<div class="toc"><dl class="toc"> 161<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_linux.notes_linux_shm_folder">Shared 162 memory emulation folder</a></span></dt> 163<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_linux.notes_linux_overcommit">Overcommit</a></span></dt> 164</dl></div> 165<div class="section"> 166<div class="titlepage"><div><div><h4 class="title"> 167<a name="interprocess.acknowledgements_notes.notes_linux.notes_linux_shm_folder"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_linux.notes_linux_shm_folder" title="Shared memory emulation folder">Shared 168 memory emulation folder</a> 169</h4></div></div></div> 170<p> 171 On systems without POSIX shared memory support, shared memory objects are 172 implemented as memory mapped files, using a directory placed in "/tmp" 173 that can include (if <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME</span></code> 174 is defined) the last bootup time (if the OS supports it). As in Windows, 175 in any error case obtaining this directory the library throws an error 176 . When your shared directory is a compile-time constant, define <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_SHARED_DIR_PATH</span></code> when 177 using the library and that path will be used to place shared memory files. 178 When you have to determine the shared directory at runtime, define <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_SHARED_DIR_FUNC</span></code> and 179 implement the function 180 </p> 181<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 182 <span class="keyword">namespace</span> <span class="identifier">interprocess</span> <span class="special">{</span> 183 <span class="keyword">namespace</span> <span class="identifier">ipcdetail</span> <span class="special">{</span> 184 <span class="keyword">void</span> <span class="identifier">get_shared_dir</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="identifier">shared_dir</span><span class="special">);</span> 185 <span class="special">}</span> 186 <span class="special">}</span> 187<span class="special">}</span> 188</pre> 189</div> 190<div class="section"> 191<div class="titlepage"><div><div><h4 class="title"> 192<a name="interprocess.acknowledgements_notes.notes_linux.notes_linux_overcommit"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_linux.notes_linux_overcommit" title="Overcommit">Overcommit</a> 193</h4></div></div></div> 194<p> 195 The committed address space is the total amount of virtual memory (swap 196 or physical memory/RAM) that the kernel might have to supply if all applications 197 decide to access all of the memory they've requested from the kernel. By 198 default, Linux allows processes to commit more virtual memory than available 199 in the system. If that memory is not accessed, no physical memory + swap 200 is actually used. 201 </p> 202<p> 203 The reason for this behaviour is that Linux tries to optimize memory usage 204 on forked processes; fork() creates a full copy of the process space, but 205 with overcommitted memory, in this new forked instance only pages which 206 have been written to actually need to be allocated by the kernel. If applications 207 access more memory than available, then the kernel must free memory in 208 the hard way: the OOM (Out Of Memory)-killer picks some processes to kill 209 in order to recover memory. 210 </p> 211<p> 212 <span class="bold"><strong>Boost.Interprocess</strong></span> has no way to change 213 this behaviour and users might suffer the OOM-killer when accessing shared 214 memory. According to the <a href="http://www.kernel.org/doc/Documentation/vm/overcommit-accounting" target="_top">Kernel 215 documentation</a>, the Linux kernel supports several overcommit modes. 216 If you need non-kill guarantees in your application, you should change 217 this overcommit behaviour. 218 </p> 219</div> 220</div> 221<div class="section"> 222<div class="titlepage"><div><div><h3 class="title"> 223<a name="interprocess.acknowledgements_notes.notes_freebsd"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_freebsd" title="Notes for FreeBSD users">Notes 224 for FreeBSD users</a> 225</h3></div></div></div> 226<div class="toc"><dl class="toc"><dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_freebsd.notes_freebsd_umtx_vnode_persistent">Process-shared 227 synchronization primitives and <span class="emphasis"><em>kern.ipc.umtx_vnode_persistent</em></span></a></span></dt></dl></div> 228<div class="section"> 229<div class="titlepage"><div><div><h4 class="title"> 230<a name="interprocess.acknowledgements_notes.notes_freebsd.notes_freebsd_umtx_vnode_persistent"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.notes_freebsd.notes_freebsd_umtx_vnode_persistent" title="Process-shared synchronization primitives and kern.ipc.umtx_vnode_persistent">Process-shared 231 synchronization primitives and <span class="emphasis"><em>kern.ipc.umtx_vnode_persistent</em></span></a> 232</h4></div></div></div> 233<p> 234 Starting from FreeBSD 11, declares the macro _POSIX_THREAD_PROCESS_SHARED. 235 However, the default behavior is different from the one on Linux. If you 236 want to use this feature, according to the man page of libthr(3), you should 237 check sysctl's <span class="emphasis"><em>kern.ipc.umtx_vnode_persistent</em></span>: 238 </p> 239<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 240 <span class="emphasis"><em>kern.ipc.umtx_vnode_persistent</em></span>: By default, a 241 shared lock backed by a mapped file in memory is automatically destroyed 242 on the last unmap of the corresponding file's page, which is allowed 243 by POSIX. Setting the sysctl to 1 makes such a shared lock object persist 244 until the vnode is recycled by the Virtual File System. Note that in 245 case file is not opened and not mapped, the kernel might recycle it 246 at any moment, making this sysctl less useful than it sounds. 247 </li></ul></div> 248<p> 249 If you want mapped files to remain useful after the last handle is closed, 250 set this variable to 1. 251 </p> 252</div> 253</div> 254<div class="section"> 255<div class="titlepage"><div><div><h3 class="title"> 256<a name="interprocess.acknowledgements_notes.thanks_to"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.thanks_to" title="Thanks to...">Thanks 257 to...</a> 258</h3></div></div></div> 259<p> 260 Many people have contributed with ideas and revisions, so this is the place 261 to thank them: 262 </p> 263<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 264<li class="listitem"> 265 Thanks to all people who have shown interest in the library and have 266 downloaded and tested the snapshots. 267 </li> 268<li class="listitem"> 269 Thanks to <span class="bold"><strong>Francis Andre</strong></span> and <span class="bold"><strong>Anders Hybertz</strong></span> for their ideas and suggestions. 270 Many of them are not implemented yet but I hope to include them when 271 library gets some stability. 272 </li> 273<li class="listitem"> 274 Thanks to <span class="bold"><strong>Matt Doyle</strong></span>, <span class="bold"><strong>Steve 275 LoBasso</strong></span>, <span class="bold"><strong>Glenn Schrader</strong></span>, 276 <span class="bold"><strong>Hiang Swee Chiang</strong></span>, <span class="bold"><strong>Phil 277 Endecott</strong></span>, <span class="bold"><strong>Rene Rivera</strong></span>, <span class="bold"><strong>Harold Pirtle</strong></span>, <span class="bold"><strong>Paul Ryan</strong></span>, 278 <span class="bold"><strong>Shumin Wu</strong></span>, <span class="bold"><strong>Michal 279 Wozniak</strong></span>, <span class="bold"><strong>Peter Johnson</strong></span>, 280 <span class="bold"><strong>Alex Ott</strong></span>, <span class="bold"><strong>Shane 281 Guillory</strong></span>, <span class="bold"><strong>Steven Wooding</strong></span> 282 and <span class="bold"><strong>Kim Barrett</strong></span> for their bug fixes 283 and library testing. 284 </li> 285<li class="listitem"> 286 Thanks to <span class="bold"><strong>Martin Adrian</strong></span> who suggested 287 the use of Interprocess framework for user defined buffers. 288 </li> 289<li class="listitem"> 290 Thanks to <span class="bold"><strong>Synge Todo</strong></span> for his boostbook-doxygen 291 patch to improve Interprocess documentation. 292 </li> 293<li class="listitem"> 294 Thanks to <span class="bold"><strong>Olaf Krzikalla</strong></span> for his Intrusive 295 library. I have taken some ideas to improve red black tree implementation 296 from his library. 297 </li> 298<li class="listitem"> 299 Thanks to <span class="bold"><strong>Daniel James</strong></span> for his unordered_map/set 300 family and his help with allocators. His great unordered implementation 301 has been a reference to design exception safe containers. 302 </li> 303<li class="listitem"> 304 Thanks to <span class="bold"><strong>Howard Hinnant</strong></span> for his amazing 305 help, specially explaining allocator swapping, move semantics and for 306 developing upgradable mutex and lock transfer features. 307 </li> 308<li class="listitem"> 309 Thanks to <span class="bold"><strong>Pavel Vozenilek</strong></span> for his continuous 310 review process, suggestions, code and help. He is the major supporter 311 of Interprocess library. The library has grown with his many and great 312 advices. 313 </li> 314<li class="listitem"> 315 And finally, thank you to all Boosters. <span class="bold"><strong>Long live 316 to C++!</strong></span> 317 </li> 318</ul></div> 319</div> 320<div class="section"> 321<div class="titlepage"><div><div><h3 class="title"> 322<a name="interprocess.acknowledgements_notes.release_notes"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes" title="Release Notes">Release 323 Notes</a> 324</h3></div></div></div> 325<div class="toc"><dl class="toc"> 326<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_74_00">Boost 327 1.74 Release</a></span></dt> 328<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_71_00">Boost 329 1.71 Release</a></span></dt> 330<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_70_00">Boost 331 1.70 Release</a></span></dt> 332<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_69_00">Boost 333 1.69 Release</a></span></dt> 334<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_68_00">Boost 335 1.68 Release</a></span></dt> 336<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_67_00">Boost 337 1.67 Release</a></span></dt> 338<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_66_00">Boost 339 1.66 Release</a></span></dt> 340<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_65_00">Boost 341 1.65 Release</a></span></dt> 342<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_64_00">Boost 343 1.64 Release</a></span></dt> 344<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_63_00">Boost 345 1.63 Release</a></span></dt> 346<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_62_00">Boost 347 1.62 Release</a></span></dt> 348<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_61_00">Boost 349 1.61 Release</a></span></dt> 350<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_60_00">Boost 351 1.60 Release</a></span></dt> 352<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_59_00">Boost 353 1.59 Release</a></span></dt> 354<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_58_00">Boost 355 1.58 Release</a></span></dt> 356<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_57_00">Boost 357 1.57 Release</a></span></dt> 358<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_56_00">Boost 359 1.56 Release</a></span></dt> 360<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_55_00">Boost 361 1.55 Release</a></span></dt> 362<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_54_00">Boost 363 1.54 Release</a></span></dt> 364<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_53_00">Boost 365 1.53 Release</a></span></dt> 366<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_52_00">Boost 367 1.52 Release</a></span></dt> 368<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_51_00">Boost 369 1.51 Release</a></span></dt> 370<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_50_00">Boost 371 1.50 Release</a></span></dt> 372<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_49_00">Boost 373 1.49 Release</a></span></dt> 374<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_48_00">Boost 375 1.48 Release</a></span></dt> 376<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_46_00">Boost 377 1.46 Release</a></span></dt> 378<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_45_00">Boost 379 1.45 Release</a></span></dt> 380<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_41_00">Boost 381 1.41 Release</a></span></dt> 382<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_40_00">Boost 383 1.40 Release</a></span></dt> 384<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_39_00">Boost 385 1.39 Release</a></span></dt> 386<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_38_00">Boost 387 1.38 Release</a></span></dt> 388<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_37_00">Boost 389 1.37 Release</a></span></dt> 390<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_36_00">Boost 391 1.36 Release</a></span></dt> 392<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_35_00">Boost 393 1.35 Release</a></span></dt> 394</dl></div> 395<div class="section"> 396<div class="titlepage"><div><div><h4 class="title"> 397<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_74_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_74_00" title="Boost 1.74 Release">Boost 398 1.74 Release</a> 399</h4></div></div></div> 400<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 401<li class="listitem"> 402 <span class="bold"><strong>ABI breaking</strong></span>: Option <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_BOOTSTAMP_IS_SESSION_MANAGER_BASED</span></code> 403 is now the default value. You can obtain the pre-Boost 1.73 behaviour 404 defining <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_BOOTSTAMP_IS_EVENTLOG_BASED</span></code>. 405 The old and broken pre-Boost 1.54 behaviour (<code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME</span></code>) 406 is no longer available. 407 </li> 408<li class="listitem"> 409 Fixed bugs: 410 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 411<li class="listitem"> 412 <a href="https://github.com/boostorg/interprocess/issues/89" target="_top">GitHub 413 #89 (<span class="emphasis"><em>"priv_size_from_mapping_size() calculates 414 wrong value"</em></span>)</a>. 415 </li> 416<li class="listitem"> 417 <a href="https://github.com/boostorg/interprocess/issues/99" target="_top">GitHub 418 #99 (<span class="emphasis"><em>"Error in win32_api.hpp"</em></span>)</a>. 419 </li> 420<li class="listitem"> 421 <a href="https://github.com/boostorg/interprocess/issues/105" target="_top">GitHub 422 #105 (<span class="emphasis"><em>"Build failure with clang on Windows"</em></span>)</a>. 423 </li> 424<li class="listitem"> 425 <a href="https://github.com/boostorg/interprocess/pull/119" target="_top">GitHub 426 #119 (<span class="emphasis"><em>"Fix mingw compile error"</em></span>)</a>. 427 </li> 428</ul></div> 429 </li> 430</ul></div> 431</div> 432<div class="section"> 433<div class="titlepage"><div><div><h4 class="title"> 434<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_71_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_71_00" title="Boost 1.71 Release">Boost 435 1.71 Release</a> 436</h4></div></div></div> 437<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 438 Fixed bugs: 439 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 440<li class="listitem"> 441 <a href="https://github.com/boostorg/interprocess/pull/85" target="_top">GitHub 442 #85 (<span class="emphasis"><em>"warning: Implicit conversion loses integer 443 precision"</em></span>)</a>. 444 </li> 445<li class="listitem"> 446 <a href="https://github.com/boostorg/interprocess/pull/86" target="_top">GitHub 447 #86 (<span class="emphasis"><em>"warning: Possible misuse of comma operator"</em></span>)</a>. 448 </li> 449</ul></div> 450 </li></ul></div> 451</div> 452<div class="section"> 453<div class="titlepage"><div><div><h4 class="title"> 454<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_70_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_70_00" title="Boost 1.70 Release">Boost 455 1.70 Release</a> 456</h4></div></div></div> 457<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 458 Fixed bugs: 459 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 460<li class="listitem"> 461 <a href="https://github.com/boostorg/interprocess/pull/51" target="_top">GitHub 462 Pull #51 (<span class="emphasis"><em>"United handling of wait_for_single_object"</em></span>)</a>. 463 </li> 464<li class="listitem"> 465 <a href="https://github.com/boostorg/interprocess/pull/78" target="_top">GitHub 466 Pull #78 (<span class="emphasis"><em>"Fix -Wextra-semi clang warnings"</em></span>)</a>. 467 </li> 468</ul></div> 469 </li></ul></div> 470</div> 471<div class="section"> 472<div class="titlepage"><div><div><h4 class="title"> 473<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_69_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_69_00" title="Boost 1.69 Release">Boost 474 1.69 Release</a> 475</h4></div></div></div> 476<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 477<li class="listitem"> 478 Deprecated GCC < 4.3 and MSVC < 9.0 (Visual 2008) compilers. 479 </li> 480<li class="listitem"> 481 Fixed bugs: 482 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 483<li class="listitem"> 484 <a href="https://github.com/boostorg/interprocess/issues/59" target="_top">GitHub 485 Issue #59 (<span class="emphasis"><em>"warning: ISO C++ prohibits anonymous 486 structs <span class="strikethrough">Wpedantic</span>"</em></span>)</a>. 487 </li> 488<li class="listitem"> 489 <a href="https://github.com/boostorg/interprocess/issues/60" target="_top">GitHub 490 Issue #60 (<span class="emphasis"><em>"warning: cast between incompatible 491 function types from boost::interprocess::winapi::farproc_t..."</em></span>)</a>. 492 </li> 493<li class="listitem"> 494 <a href="https://github.com/boostorg/interprocess/issues/61" target="_top">GitHub 495 Issue #61 (<span class="emphasis"><em>"warning: struct winapi::*_BIPC has 496 virtual functions and accessible non-virtual destructor"</em></span>)</a>. 497 </li> 498<li class="listitem"> 499 <a href="https://github.com/boostorg/interprocess/issues/64" target="_top">GitHub 500 Issue #64 (<span class="emphasis"><em>"UBSan: runtime error: load of value 501 4294967295, (...) for type 'boost::interprocess::mode_t'"</em></span>)</a>. 502 </li> 503<li class="listitem"> 504 <a href="https://github.com/boostorg/interprocess/pull/68" target="_top">GitHub 505 Pull #68 (<span class="emphasis"><em>"Prepare for C++20 and remove "throw()" 506 usage"</em></span>)</a>. 507 </li> 508<li class="listitem"> 509 <a href="https://github.com/boostorg/interprocess/pull/70" target="_top">GitHub 510 Pull #70 (<span class="emphasis"><em>"Fix deadlock in named_condition::notify_one"</em></span>)</a>. 511 </li> 512</ul></div> 513 </li> 514</ul></div> 515</div> 516<div class="section"> 517<div class="titlepage"><div><div><h4 class="title"> 518<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_68_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_68_00" title="Boost 1.68 Release">Boost 519 1.68 Release</a> 520</h4></div></div></div> 521<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 522 Fixed bugs: 523 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 524<li class="listitem"> 525 <a href="https://github.com/boostorg/interprocess/issues/53" target="_top">GitHub 526 Issue #53 (<span class="emphasis"><em>"Crash waiting on condition variable 527 from multiple processes in do_wait()"</em></span>)</a>. 528 </li> 529<li class="listitem"> 530 <a href="https://github.com/boostorg/interprocess/issues/54" target="_top">GitHub 531 Issue #54 (<span class="emphasis"><em>"fill_system_message() ignores an error 532 returned by winapi::format_message()"</em></span>)</a>. 533 </li> 534</ul></div> 535 </li></ul></div> 536</div> 537<div class="section"> 538<div class="titlepage"><div><div><h4 class="title"> 539<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_67_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_67_00" title="Boost 1.67 Release">Boost 540 1.67 Release</a> 541</h4></div></div></div> 542<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 543 Fixed bugs: 544 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 545<li class="listitem"> 546 <a href="https://github.com/boostorg/interprocess/pull/45" target="_top">GitHub 547 Pull #45 (<span class="emphasis"><em>"Make intrusive_ptr move constructible/assignable"</em></span>)</a>. 548 </li> 549<li class="listitem"> 550 <a href="https://github.com/boostorg/interprocess/pull/48" target="_top">GitHub 551 Pull #48 (<span class="emphasis"><em>"Win32: Fix read of reg_expand_sz type"</em></span>)</a>. 552 </li> 553</ul></div> 554 </li></ul></div> 555</div> 556<div class="section"> 557<div class="titlepage"><div><div><h4 class="title"> 558<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_66_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_66_00" title="Boost 1.66 Release">Boost 559 1.66 Release</a> 560</h4></div></div></div> 561<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 562 Fixed bugs: 563 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"> 564 <a href="https://github.com/boostorg/interprocess/pull/41" target="_top">GitHub 565 Pull #41 (<span class="emphasis"><em>"Data race in boost::interprocess::rbtree_best_fit"</em></span>)</a>. 566 </li></ul></div> 567 </li></ul></div> 568</div> 569<div class="section"> 570<div class="titlepage"><div><div><h4 class="title"> 571<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_65_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_65_00" title="Boost 1.65 Release">Boost 572 1.65 Release</a> 573</h4></div></div></div> 574<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 575 Fixed bugs: 576 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"> 577 <a href="https://github.com/boostorg/interprocess/pull/37" target="_top">GitHub 578 Pull #37 (<span class="emphasis"><em>"Conditionally replace deprecated/removed 579 std::auto_ptr..."</em></span>)</a>. 580 </li></ul></div> 581 </li></ul></div> 582</div> 583<div class="section"> 584<div class="titlepage"><div><div><h4 class="title"> 585<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_64_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_64_00" title="Boost 1.64 Release">Boost 586 1.64 Release</a> 587</h4></div></div></div> 588<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 589<li class="listitem"> 590 Fixed bugs: 591 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 592<li class="listitem"> 593 <a href="https://svn.boost.org/trac/boost/ticket/12617" target="_top">Trac 594 #12617 (<span class="emphasis"><em>"clock_gettime not available on OS X 10.11"</em></span>)</a>. 595 </li> 596<li class="listitem"> 597 <a href="https://svn.boost.org/trac/boost/ticket/12744" target="_top">Trac 598 #12744 (<span class="emphasis"><em>"winapi::set_timer_resolution inadvertently 599 changes timer resolution (Windows)"</em></span>)</a>. 600 </li> 601<li class="listitem"> 602 <a href="https://github.com/boostorg/interprocess/pull/32" target="_top">GitHub 603 Pull #32 (<span class="emphasis"><em>"Conform to std::pointer_traits requirements"</em></span>)</a>. 604 </li> 605<li class="listitem"> 606 <a href="https://github.com/boostorg/interprocess/pull/33" target="_top">GitHub 607 Pull #33 (<span class="emphasis"><em>"explicit cast to derived class" 608 and "64/32 bit processes sharing"</em></span>)</a>. 609 </li> 610<li class="listitem"> 611 <a href="https://github.com/boostorg/interprocess/pull/34" target="_top">GitHub 612 Pull #34 (<span class="emphasis"><em>"Update example to use multi_index::member 613 instead of BOOST_MULTI_INDEX_MEMBER"</em></span>)</a>. 614 </li> 615<li class="listitem"> 616 <a href="https://github.com/boostorg/interprocess/pull/35" target="_top">GitHub 617 Pull #35 (<span class="emphasis"><em>"Fixed options for cross-compilation"</em></span>)</a>. 618 </li> 619</ul></div> 620 </li> 621<li class="listitem"> 622 New experimental option <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_BOOTSTAMP_IS_SESSION_MANAGER_BASED</span></code> 623 from Windows systems. This option derives the unique bootstamp used 624 to name the folder where shared memory is placed from registry values 625 associated with the session manager. This option only works on Vista 626 and later systems and might be more stable than the default version. 627 </li> 628</ul></div> 629</div> 630<div class="section"> 631<div class="titlepage"><div><div><h4 class="title"> 632<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_63_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_63_00" title="Boost 1.63 Release">Boost 633 1.63 Release</a> 634</h4></div></div></div> 635<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 636 Fixed bugs: 637 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 638<li class="listitem"> 639 <a href="https://svn.boost.org/trac/boost/ticket/12499" target="_top">Trac 640 #12499 (<span class="emphasis"><em>"Memory allocation fails"</em></span>)</a>. 641 </li> 642<li class="listitem"> 643 <a href="https://github.com/boostorg/interprocess/pull/30" target="_top">GitHub 644 Pull #30 (<span class="emphasis"><em>"Provide extension point so library 645 user can provide default temp folder"</em></span>)</a>. 646 </li> 647<li class="listitem"> 648 <a href="https://github.com/boostorg/interprocess/pull/31" target="_top">GitHub 649 Pull #31 (<span class="emphasis"><em>"Add xsi_key(key_t) constructor"</em></span>)</a>. 650 </li> 651</ul></div> 652 </li></ul></div> 653</div> 654<div class="section"> 655<div class="titlepage"><div><div><h4 class="title"> 656<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_62_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_62_00" title="Boost 1.62 Release">Boost 657 1.62 Release</a> 658</h4></div></div></div> 659<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 660 Fixed bugs: 661 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"> 662 <a href="https://github.com/boostorg/interprocess/pull/27" target="_top">GitHub 663 Pull #27 (<span class="emphasis"><em>"Fix undefined behavior"</em></span>)</a>. 664 </li></ul></div> 665 </li></ul></div> 666</div> 667<div class="section"> 668<div class="titlepage"><div><div><h4 class="title"> 669<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_61_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_61_00" title="Boost 1.61 Release">Boost 670 1.61 Release</a> 671</h4></div></div></div> 672<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 673 Fixed bugs: 674 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"> 675 <a href="https://github.com/boostorg/interprocess/pull/23" target="_top">GitHub 676 Pull #23 (<span class="emphasis"><em>"Fixed case sensitive for linux mingw"</em></span>)</a>. 677 </li></ul></div> 678 </li></ul></div> 679</div> 680<div class="section"> 681<div class="titlepage"><div><div><h4 class="title"> 682<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_60_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_60_00" title="Boost 1.60 Release">Boost 683 1.60 Release</a> 684</h4></div></div></div> 685<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 686<li class="listitem"> 687 Improved <code class="computeroutput"><a class="link" href="../boost/interprocess/offset_ptr.html" title="Class template offset_ptr">offset_ptr</a></code> 688 performance and removed any undefined behaviour. No special cases needed 689 for different compilers. 690 </li> 691<li class="listitem"> 692 Fixed bugs: 693 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"> 694 <a href="https://svn.boost.org/trac/boost/ticket/11699" target="_top">Trac 695 #11699 (<span class="emphasis"><em>"Forward declarations of std templates 696 causes stack corruption under Visual Studio 2015"</em></span>)</a>. 697 </li></ul></div> 698 </li> 699</ul></div> 700</div> 701<div class="section"> 702<div class="titlepage"><div><div><h4 class="title"> 703<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_59_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_59_00" title="Boost 1.59 Release">Boost 704 1.59 Release</a> 705</h4></div></div></div> 706<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 707 Fixed bugs: 708 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 709<li class="listitem"> 710 <a href="https://svn.boost.org/trac/boost/ticket/5139" target="_top">Trac 711 #5139 (<span class="emphasis"><em>"Initial Stream Position in Boost.Interprocess.Vectorstream"</em></span>)</a>. 712 </li> 713<li class="listitem"> 714 <a href="https://github.com/boostorg/interprocess/pull/19" target="_top">GitHub 715 Pull #19 (<span class="emphasis"><em>"Fix exception visibility"</em></span>)</a>. 716 Thanks to Romain-Geissler. 717 </li> 718</ul></div> 719 </li></ul></div> 720</div> 721<div class="section"> 722<div class="titlepage"><div><div><h4 class="title"> 723<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_58_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_58_00" title="Boost 1.58 Release">Boost 724 1.58 Release</a> 725</h4></div></div></div> 726<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 727<li class="listitem"> 728 Reduced some compile-time dependencies. Updated to Boost.Container 729 changes. 730 </li> 731<li class="listitem"> 732 Fixed bugs: 733 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"> 734 <a href="https://github.com/boostorg/interprocess/pull/13" target="_top">GitHub 735 Pull #13 (<span class="emphasis"><em>"haiku: we don't have XSI shared memory, 736 so don't try to use it"</em></span>)</a>. Thanks to Jessica 737 Hamilton. 738 </li></ul></div> 739 </li> 740</ul></div> 741</div> 742<div class="section"> 743<div class="titlepage"><div><div><h4 class="title"> 744<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_57_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_57_00" title="Boost 1.57 Release">Boost 745 1.57 Release</a> 746</h4></div></div></div> 747<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 748<li class="listitem"> 749 Removed <code class="computeroutput"><span class="identifier">unique_ptr</span></code>, 750 now forwards boost::interprocess::unique_ptr to the general purpose 751 <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">movelib</span><span class="special">::</span><span class="identifier">unique_ptr</span></code> class from <span class="bold"><strong>Boost.Move</strong></span>. 752 This implementation is closer to the standard <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">unique_ptr</span></code> 753 implementation and it's better maintained. 754 </li> 755<li class="listitem"> 756 Fixed bugs: 757 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 758<li class="listitem"> 759 <a href="https://svn.boost.org/trac/boost/ticket/10262" target="_top">Trac 760 #10262 (<span class="emphasis"><em>"AIX 6.1 bug with variable definition 761 hz"</em></span>)</a>. 762 </li> 763<li class="listitem"> 764 <a href="https://svn.boost.org/trac/boost/ticket/10229" target="_top">Trac 765 #10229 (<span class="emphasis"><em>"Compiling errors in interprocess\detail\os_file_functions.hpp"</em></span>)</a>. 766 </li> 767<li class="listitem"> 768 <a href="https://svn.boost.org/trac/boost/ticket/10506" target="_top">Trac 769 #10506 (<span class="emphasis"><em>"Infinite loop in create_or_open_file"</em></span>)</a>. 770 </li> 771<li class="listitem"> 772 <a href="https://github.com/boostorg/interprocess/pull/11" target="_top">GitHub 773 Pull #11 (<span class="emphasis"><em>"Compile fix for BOOST_USE_WINDOWS_H"</em></span>)</a>. 774 </li> 775</ul></div> 776 </li> 777<li class="listitem"> 778 Reorganized Doxygen marks to obtain a better header reference. 779 </li> 780</ul></div> 781</div> 782<div class="section"> 783<div class="titlepage"><div><div><h4 class="title"> 784<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_56_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_56_00" title="Boost 1.56 Release">Boost 785 1.56 Release</a> 786</h4></div></div></div> 787<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 788<li class="listitem"> 789 Fixed bugs: 790 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 791<li class="listitem"> 792 <a href="https://svn.boost.org/trac/boost/ticket/9221" target="_top">Trac 793 #9221 (<span class="emphasis"><em>"message_queue deadlock on linux"</em></span>)</a>. 794 </li> 795<li class="listitem"> 796 <a href="https://svn.boost.org/trac/boost/ticket/9226" target="_top">Trac 797 #9226 (<span class="emphasis"><em>"On some computers, Common Appdata is empty 798 in registry, so boost interprocess cannot work"</em></span>)</a>. 799 </li> 800<li class="listitem"> 801 <a href="https://svn.boost.org/trac/boost/ticket/9262" target="_top">Trac 802 #9262 (<span class="emphasis"><em>"windows_intermodule_singleton breaks when 803 calling a Debug dll from a Release executable"</em></span>)</a>. 804 </li> 805<li class="listitem"> 806 <a href="https://svn.boost.org/trac/boost/ticket/9284" target="_top">Trac 807 #9284 (<span class="emphasis"><em>"WaitForSingleObject(mutex) must handle 808 WAIT_ABANDONED"</em></span>)</a>. 809 </li> 810<li class="listitem"> 811 <a href="https://svn.boost.org/trac/boost/ticket/9285" target="_top">Trac 812 #9285 (<span class="emphasis"><em>"CreateMutex returns NULL if fails"</em></span>)</a>. 813 </li> 814<li class="listitem"> 815 <a href="https://svn.boost.org/trac/boost/ticket/9288" target="_top">Trac 816 #9288 (<span class="emphasis"><em>"timed_wait does not check if it has expired"</em></span>)</a>. 817 </li> 818<li class="listitem"> 819 <a href="https://svn.boost.org/trac/boost/ticket/9408" target="_top">Trac 820 #9408 (<span class="emphasis"><em>"Android does not support XSI_SHARED_MEMORY_OBJECTS"</em></span></a>). 821 </li> 822<li class="listitem"> 823 <a href="https://svn.boost.org/trac/boost/ticket/9729" target="_top">Trac 824 #9729 (<span class="emphasis"><em>"crash on managed_external_buffer object 825 construction"</em></span></a>). 826 </li> 827<li class="listitem"> 828 <a href="https://svn.boost.org/trac/boost/ticket/9767" target="_top">Trac 829 #9767 (<span class="emphasis"><em>"bootstamp generation causes error in case 830 of corrupt Windows Event Log"</em></span>)</a>. 831 </li> 832<li class="listitem"> 833 <a href="https://svn.boost.org/trac/boost/ticket/9835" target="_top">Trac 834 #9835 (<span class="emphasis"><em>"Boost Interprocess fails to compile with 835 Android NDK GCC 4.8, -Werror=unused-variable"</em></span>)</a>. 836 </li> 837<li class="listitem"> 838 <a href="https://svn.boost.org/trac/boost/ticket/9911" target="_top">Trac 839 #9911 (<span class="emphasis"><em>"get_tmp_base_dir(...) failure"</em></span>)</a>. 840 </li> 841<li class="listitem"> 842 <a href="https://svn.boost.org/trac/boost/ticket/9946" target="_top">Trac 843 #9946 (<span class="emphasis"><em>"ret_ptr uninitialized in init_atomic_func, 844 fini_atomic_func"</em></span>)</a>. 845 </li> 846<li class="listitem"> 847 <a href="https://svn.boost.org/trac/boost/ticket/10011" target="_top">Trac 848 #10011 (<span class="emphasis"><em>"segment_manager::find( unique_instance_t* 849 ) fails to compile"</em></span>)</a>. 850 </li> 851<li class="listitem"> 852 <a href="https://svn.boost.org/trac/boost/ticket/10021" target="_top">Trac 853 #10021 (<span class="emphasis"><em>"Interprocess and BOOST_USE_WINDOWS_H"</em></span>)</a>. 854 </li> 855<li class="listitem"> 856 <a href="https://svn.boost.org/trac/boost/ticket/10230" target="_top">Trac 857 #10230 (<span class="emphasis"><em>"No Sleep in interprocess::winapi"</em></span>)</a>. 858 </li> 859<li class="listitem"> 860 <a href="https://github.com/boostorg/interprocess/pull/2" target="_top">GitHub 861 Pull #2</a> (<span class="emphasis"><em>"Provide support for the Cray 862 C++ compiler. The Cray compiler defines __GNUC__"</em></span>]). 863 </li> 864<li class="listitem"> 865 <a href="https://github.com/boostorg/interprocess/pull/3" target="_top">GitHub 866 Pull #3</a> (<span class="emphasis"><em>"Fix/mingw interprocess_exception 867 throw in file_wrapper::priv_open_or_create"</em></span>]). 868 </li> 869</ul></div> 870 </li> 871<li class="listitem"> 872 <span class="bold"><strong>ABI breaking</strong></span>: <a href="https://svn.boost.org/trac/boost/ticket/9221" target="_top">#9221</a> 873 showed that <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_MSG_QUEUE_CIRCULAR_INDEX</span></code> 874 option of message queue, was completely broken so an ABI break was 875 necessary to have a working implementation. 876 </li> 877<li class="listitem"> 878 Simplified, refactored and unified (timed_)lock code based on try_lock(). 879 There were several bugs when handling timeout expirations. 880 </li> 881<li class="listitem"> 882 Changed the implementation of condition variables' destructors to allow 883 POSIX semantics (the condition variable can be destroyed after all 884 waiting threads have been woken up).. 885 </li> 886<li class="listitem"> 887 Added <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_SHARED_DIR_PATH</span></code> 888 option to define the shared directory used to place shared memory objects 889 when implemented as memory mapped files. 890 </li> 891<li class="listitem"> 892 Added support for <code class="computeroutput"><span class="identifier">BOOST_USE_WINDOWS_H</span></code>. 893 When this macro is defined Interprocess does not declare used Windows 894 API function and types, includes all needed windows SDK headers and 895 uses types and functions declared by the Windows SDK. 896 </li> 897<li class="listitem"> 898 Added <code class="computeroutput"><span class="identifier">get_size</span></code> to 899 <code class="computeroutput">::boost:interprocess:windows_shared_memory</code>. 900 </li> 901</ul></div> 902</div> 903<div class="section"> 904<div class="titlepage"><div><div><h4 class="title"> 905<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_55_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_55_00" title="Boost 1.55 Release">Boost 906 1.55 Release</a> 907</h4></div></div></div> 908<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 909 Fixed bugs: 910 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 911<li class="listitem"> 912 <a href="https://svn.boost.org/trac/boost/ticket/7156" target="_top">#7156</a> 913 (<span class="emphasis"><em>"interprocess buffer streams leak memory on construction"</em></span>]). 914 </li> 915<li class="listitem"> 916 <a href="https://svn.boost.org/trac/boost/ticket/7164" target="_top">#7164</a> 917 (<span class="emphasis"><em>"Two potential bugs with b::int::vector of b::i::weak_ptr"</em></span>]). 918 </li> 919<li class="listitem"> 920 <a href="https://svn.boost.org/trac/boost/ticket/7860" target="_top">#7860</a> 921 (<span class="emphasis"><em>"smart_ptr's yield_k and spinlock utilities can 922 improve spinlock-based sychronization primitives"</em></span>]). 923 </li> 924<li class="listitem"> 925 <a href="https://svn.boost.org/trac/boost/ticket/8277" target="_top">#8277</a> 926 (<span class="emphasis"><em>"docs for named_mutex erroneously refer to interprocess_mutex"</em></span>]). 927 </li> 928<li class="listitem"> 929 <a href="https://svn.boost.org/trac/boost/ticket/8976" target="_top">#8976</a> 930 (<span class="emphasis"><em>"shared_ptr fails to compile if used with a scoped_allocator"</em></span>]). 931 </li> 932<li class="listitem"> 933 <a href="https://svn.boost.org/trac/boost/ticket/9008" target="_top">#9008</a> 934 (<span class="emphasis"><em>"conditions variables fast enough only when opening 935 a multiprocess browser"</em></span>]). 936 </li> 937<li class="listitem"> 938 <a href="https://svn.boost.org/trac/boost/ticket/9065" target="_top">#9065</a> 939 (<span class="emphasis"><em>"atomic_cas32 inline assembly wrong on ppc32"</em></span>]). 940 </li> 941<li class="listitem"> 942 <a href="https://svn.boost.org/trac/boost/ticket/9073" target="_top">#9073</a> 943 (<span class="emphasis"><em>"Conflict names 'realloc'"</em></span>]). 944 </li> 945</ul></div> 946 </li></ul></div> 947</div> 948<div class="section"> 949<div class="titlepage"><div><div><h4 class="title"> 950<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_54_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_54_00" title="Boost 1.54 Release">Boost 951 1.54 Release</a> 952</h4></div></div></div> 953<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 954<li class="listitem"> 955 Added support for platform-specific flags to mapped_region (ticket 956 #8030) 957 </li> 958<li class="listitem"> 959 Fixed bugs: 960 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 961<li class="listitem"> 962 <a href="https://svn.boost.org/trac/boost/ticket/7484" target="_top">#7484</a>, 963 </li> 964<li class="listitem"> 965 <a href="https://svn.boost.org/trac/boost/ticket/7598" target="_top">#7598</a>, 966 </li> 967<li class="listitem"> 968 <a href="https://svn.boost.org/trac/boost/ticket/7682" target="_top">#7682</a>, 969 </li> 970<li class="listitem"> 971 <a href="https://svn.boost.org/trac/boost/ticket/7923" target="_top">#7923</a>, 972 </li> 973<li class="listitem"> 974 <a href="https://svn.boost.org/trac/boost/ticket/7924" target="_top">#7924</a>, 975 </li> 976<li class="listitem"> 977 <a href="https://svn.boost.org/trac/boost/ticket/7928" target="_top">#7928</a>, 978 </li> 979<li class="listitem"> 980 <a href="https://svn.boost.org/trac/boost/ticket/7936" target="_top">#7936</a>, 981 </li> 982<li class="listitem"> 983 <a href="https://svn.boost.org/trac/boost/ticket/8521" target="_top">#8521</a>, 984 </li> 985<li class="listitem"> 986 <a href="https://svn.boost.org/trac/boost/ticket/8595" target="_top">#8595</a>. 987 </li> 988</ul></div> 989 </li> 990<li class="listitem"> 991 <span class="bold"><strong>ABI breaking</strong></span>: Changed bootstamp function 992 in Windows to use EventLog service start time as system bootup time. 993 Previously used <code class="computeroutput"><span class="identifier">LastBootupTime</span></code> 994 from WMI was unstable with time synchronization and hibernation and 995 unusable in practice. If you really need to obtain pre Boost 1.54 behaviour 996 define <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME</span></code> 997 from command line or <code class="computeroutput"><span class="identifier">detail</span><span class="special">/</span><span class="identifier">workaround</span><span class="special">.</span><span class="identifier">hpp</span></code>. 998 </li> 999</ul></div> 1000</div> 1001<div class="section"> 1002<div class="titlepage"><div><div><h4 class="title"> 1003<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_53_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_53_00" title="Boost 1.53 Release">Boost 1004 1.53 Release</a> 1005</h4></div></div></div> 1006<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1007<li class="listitem"> 1008 Fixed GCC -Wshadow warnings. 1009 </li> 1010<li class="listitem"> 1011 Experimental multiple allocation interface improved and changed again. 1012 Still unstable. 1013 </li> 1014<li class="listitem"> 1015 Replaced deprecated BOOST_NO_XXXX with newer BOOST_NO_CXX11_XXX macros. 1016 </li> 1017<li class="listitem"> 1018 <span class="bold"><strong>ABI breaking</strong></span>: changed node pool allocators 1019 internals for improved efficiency. 1020 </li> 1021<li class="listitem"> 1022 Fixed bug <a href="https://svn.boost.org/trac/boost/ticket/7795" target="_top">#7795</a>. 1023 </li> 1024</ul></div> 1025</div> 1026<div class="section"> 1027<div class="titlepage"><div><div><h4 class="title"> 1028<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_52_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_52_00" title="Boost 1.52 Release">Boost 1029 1.52 Release</a> 1030</h4></div></div></div> 1031<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1032<li class="listitem"> 1033 Added <code class="computeroutput"><span class="identifier">shrink_by</span></code> and 1034 <code class="computeroutput"><span class="identifier">advise</span></code> functions in 1035 <code class="computeroutput"><span class="identifier">mapped_region</span></code>. 1036 </li> 1037<li class="listitem"> 1038 <span class="bold"><strong>ABI breaking:</strong></span> Reimplemented <code class="computeroutput"><span class="identifier">message_queue</span></code> with a circular buffer 1039 index (the old behavior used an ordered array, leading to excessive 1040 copies). This should greatly increase performance but breaks ABI. Old 1041 behaviour/ABI can be used undefining macro <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_MSG_QUEUE_CIRCULAR_INDEX</span></code> 1042 in <code class="computeroutput"><span class="identifier">boost</span><span class="special">/</span><span class="identifier">interprocess</span><span class="special">/</span><span class="identifier">detail</span><span class="special">/</span><span class="identifier">workaround</span><span class="special">.</span><span class="identifier">hpp</span></code> 1043 </li> 1044<li class="listitem"> 1045 Improved <code class="computeroutput"><span class="identifier">message_queue</span></code> 1046 insertion time avoiding priority search for common cases (both array 1047 and circular buffer configurations). 1048 </li> 1049<li class="listitem"> 1050 Implemented <code class="computeroutput"><span class="identifier">interproces_sharable_mutex</span></code> 1051 and <code class="computeroutput"><span class="identifier">interproces_condition_any</span></code>. 1052 </li> 1053<li class="listitem"> 1054 Improved <code class="computeroutput"><span class="identifier">offset_ptr</span></code> 1055 performance. 1056 </li> 1057<li class="listitem"> 1058 Added integer overflow checks. 1059 </li> 1060</ul></div> 1061</div> 1062<div class="section"> 1063<div class="titlepage"><div><div><h4 class="title"> 1064<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_51_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_51_00" title="Boost 1.51 Release">Boost 1065 1.51 Release</a> 1066</h4></div></div></div> 1067<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1068<li class="listitem"> 1069 Synchronous and asynchronous flushing for <code class="computeroutput"><span class="identifier">mapped_region</span><span class="special">::</span><span class="identifier">flush</span></code>. 1070 </li> 1071<li class="listitem"> 1072 <span class="bold"><strong>Source & ABI breaking</strong></span>: Removed 1073 <code class="computeroutput"><span class="identifier">get_offset</span></code> method from 1074 <code class="computeroutput"><span class="identifier">mapped_region</span></code> as it 1075 has no practical utility and <code class="computeroutput"><span class="identifier">m_offset</span></code> 1076 member was not for anything else. 1077 </li> 1078<li class="listitem"> 1079 <span class="bold"><strong>Source & ABI breaking</strong></span>: Removed 1080 <code class="computeroutput"><span class="identifier">flush</span></code> from <code class="computeroutput"><span class="identifier">managed_shared_memory</span></code>. as it is unspecified 1081 according to POSIX: <a href="http://pubs.opengroup.org/onlinepubs/009695399/functions/msync.html" target="_top"><span class="emphasis"><em>"The 1082 effect of msync() on a shared memory object or a typed memory object 1083 is unspecified"</em></span> </a>. 1084 </li> 1085<li class="listitem"> 1086 Fixed bug <a href="https://svn.boost.org/trac/boost/ticket/7152" target="_top">#7152</a>, 1087 </li> 1088</ul></div> 1089</div> 1090<div class="section"> 1091<div class="titlepage"><div><div><h4 class="title"> 1092<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_50_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_50_00" title="Boost 1.50 Release">Boost 1093 1.50 Release</a> 1094</h4></div></div></div> 1095<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1096<li class="listitem"> 1097 Fixed bugs <a href="https://svn.boost.org/trac/boost/ticket/3750" target="_top">#3750</a>, 1098 <a href="https://svn.boost.org/trac/boost/ticket/6727" target="_top">#6727</a>, 1099 <a href="https://svn.boost.org/trac/boost/ticket/6648" target="_top">#6648</a>, 1100 </li> 1101<li class="listitem"> 1102 Shared memory in windows has again kernel persistence: kernel bootstamp 1103 and WMI has received some fixes and optimizations. This causes incompatibility 1104 with Boost 1.48 and 1.49 but the user can comment <code class="computeroutput"><span class="preprocessor">#define</span> 1105 <span class="identifier">BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME</span></code> 1106 in the windows configuration part to get Boost 1.48 & Boost 1.49 1107 behaviour. 1108 </li> 1109</ul></div> 1110</div> 1111<div class="section"> 1112<div class="titlepage"><div><div><h4 class="title"> 1113<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_49_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_49_00" title="Boost 1.49 Release">Boost 1114 1.49 Release</a> 1115</h4></div></div></div> 1116<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1117<li class="listitem"> 1118 Fixed bugs <a href="https://svn.boost.org/trac/boost/ticket/6531" target="_top">#6531</a>, 1119 <a href="https://svn.boost.org/trac/boost/ticket/6412" target="_top">#6412</a>, 1120 <a href="https://svn.boost.org/trac/boost/ticket/6398" target="_top">#6398</a>, 1121 <a href="https://svn.boost.org/trac/boost/ticket/6340" target="_top">#6340</a>, 1122 <a href="https://svn.boost.org/trac/boost/ticket/6319" target="_top">#6319</a>, 1123 <a href="https://svn.boost.org/trac/boost/ticket/6287" target="_top">#6287</a>, 1124 <a href="https://svn.boost.org/trac/boost/ticket/6265" target="_top">#6265</a>, 1125 <a href="https://svn.boost.org/trac/boost/ticket/6233" target="_top">#6233</a>, 1126 <a href="https://svn.boost.org/trac/boost/ticket/6147" target="_top">#6147</a>, 1127 <a href="https://svn.boost.org/trac/boost/ticket/6134" target="_top">#6134</a>, 1128 <a href="https://svn.boost.org/trac/boost/ticket/6058" target="_top">#6058</a>, 1129 <a href="https://svn.boost.org/trac/boost/ticket/6054" target="_top">#6054</a>, 1130 <a href="https://svn.boost.org/trac/boost/ticket/5772" target="_top">#5772</a>, 1131 <a href="https://svn.boost.org/trac/boost/ticket/5738" target="_top">#5738</a>, 1132 <a href="https://svn.boost.org/trac/boost/ticket/5622" target="_top">#5622</a>, 1133 <a href="https://svn.boost.org/trac/boost/ticket/5552" target="_top">#5552</a>, 1134 <a href="https://svn.boost.org/trac/boost/ticket/5518" target="_top">#5518</a>, 1135 <a href="https://svn.boost.org/trac/boost/ticket/4655" target="_top">#4655</a>, 1136 <a href="https://svn.boost.org/trac/boost/ticket/4452" target="_top">#4452</a>, 1137 <a href="https://svn.boost.org/trac/boost/ticket/4383" target="_top">#4383</a>, 1138 <a href="https://svn.boost.org/trac/boost/ticket/4297" target="_top">#4297</a>. 1139 </li> 1140<li class="listitem"> 1141 Fixed timed functions in mutex implementations to fulfill POSIX requirements: 1142 <span class="emphasis"><em>Under no circumstance shall the function fail with a timeout 1143 if the mutex can be locked immediately. The validity of the abs_timeout 1144 parameter need not be checked if the mutex can be locked immediately.</em></span> 1145 </li> 1146</ul></div> 1147</div> 1148<div class="section"> 1149<div class="titlepage"><div><div><h4 class="title"> 1150<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_48_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_48_00" title="Boost 1.48 Release">Boost 1151 1.48 Release</a> 1152</h4></div></div></div> 1153<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1154<li class="listitem"> 1155 Fixed bugs <a href="https://svn.boost.org/trac/boost/ticket/2796" target="_top">#2796</a>, 1156 <a href="https://svn.boost.org/trac/boost/ticket/4031" target="_top">#4031</a>, 1157 <a href="https://svn.boost.org/trac/boost/ticket/4251" target="_top">#4251</a>, 1158 <a href="https://svn.boost.org/trac/boost/ticket/4452" target="_top">#4452</a>, 1159 <a href="https://svn.boost.org/trac/boost/ticket/4895" target="_top">#4895</a>, 1160 <a href="https://svn.boost.org/trac/boost/ticket/5077" target="_top">#5077</a>, 1161 <a href="https://svn.boost.org/trac/boost/ticket/5120" target="_top">#5120</a>, 1162 <a href="https://svn.boost.org/trac/boost/ticket/5123" target="_top">#5123</a>, 1163 <a href="https://svn.boost.org/trac/boost/ticket/5230" target="_top">#5230</a>, 1164 <a href="https://svn.boost.org/trac/boost/ticket/5197" target="_top">#5197</a>, 1165 <a href="https://svn.boost.org/trac/boost/ticket/5287" target="_top">#5287</a>, 1166 <a href="https://svn.boost.org/trac/boost/ticket/5294" target="_top">#5294</a>, 1167 <a href="https://svn.boost.org/trac/boost/ticket/5306" target="_top">#5306</a>, 1168 <a href="https://svn.boost.org/trac/boost/ticket/5308" target="_top">#5308</a>, 1169 <a href="https://svn.boost.org/trac/boost/ticket/5392" target="_top">#5392</a>, 1170 <a href="https://svn.boost.org/trac/boost/ticket/5409" target="_top">#5409</a>, 1171 </li> 1172<li class="listitem"> 1173 Added support to customize offset_ptr and allow creating custom managed 1174 segments that might be shared between 32 and 64 bit processes. 1175 </li> 1176<li class="listitem"> 1177 Shared memory in windows has again filesystem lifetime: kernel bootstamp 1178 and WMI use to get a reliable timestamp was causing a lot of trouble. 1179 </li> 1180</ul></div> 1181</div> 1182<div class="section"> 1183<div class="titlepage"><div><div><h4 class="title"> 1184<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_46_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_46_00" title="Boost 1.46 Release">Boost 1185 1.46 Release</a> 1186</h4></div></div></div> 1187<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 1188 Fixed bugs <a href="https://svn.boost.org/trac/boost/ticket/4557" target="_top">#4557</a>, 1189 <a href="https://svn.boost.org/trac/boost/ticket/4979" target="_top">#4979</a>, 1190 <a href="https://svn.boost.org/trac/boost/ticket/4907" target="_top">#4907</a>, 1191 <a href="https://svn.boost.org/trac/boost/ticket/4895" target="_top">#4895</a>. 1192 </li></ul></div> 1193</div> 1194<div class="section"> 1195<div class="titlepage"><div><div><h4 class="title"> 1196<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_45_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_45_00" title="Boost 1.45 Release">Boost 1197 1.45 Release</a> 1198</h4></div></div></div> 1199<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1200<li class="listitem"> 1201 Fixed bugs <a href="https://svn.boost.org/trac/boost/ticket/1080" target="_top">#1080</a>, 1202 <a href="https://svn.boost.org/trac/boost/ticket/3284" target="_top">#3284</a>, 1203 <a href="https://svn.boost.org/trac/boost/ticket/3439" target="_top">#3439</a>, 1204 <a href="https://svn.boost.org/trac/boost/ticket/3448" target="_top">#3448</a>, 1205 <a href="https://svn.boost.org/trac/boost/ticket/3582" target="_top">#3582</a>, 1206 <a href="https://svn.boost.org/trac/boost/ticket/3682" target="_top">#3682</a>, 1207 <a href="https://svn.boost.org/trac/boost/ticket/3829" target="_top">#3829</a>, 1208 <a href="https://svn.boost.org/trac/boost/ticket/3846" target="_top">#3846</a>, 1209 <a href="https://svn.boost.org/trac/boost/ticket/3914" target="_top">#3914</a>, 1210 <a href="https://svn.boost.org/trac/boost/ticket/3947" target="_top">#3947</a>, 1211 <a href="https://svn.boost.org/trac/boost/ticket/3950" target="_top">#3950</a>, 1212 <a href="https://svn.boost.org/trac/boost/ticket/3951" target="_top">#3951</a>, 1213 <a href="https://svn.boost.org/trac/boost/ticket/3985" target="_top">#3985</a>, 1214 <a href="https://svn.boost.org/trac/boost/ticket/4010" target="_top">#4010</a>, 1215 <a href="https://svn.boost.org/trac/boost/ticket/4417" target="_top">#4417</a>, 1216 <a href="https://svn.boost.org/trac/boost/ticket/4019" target="_top">#4019</a>, 1217 <a href="https://svn.boost.org/trac/boost/ticket/4039" target="_top">#4039</a>, 1218 <a href="https://svn.boost.org/trac/boost/ticket/4218" target="_top">#4218</a>, 1219 <a href="https://svn.boost.org/trac/boost/ticket/4230" target="_top">#4230</a>, 1220 <a href="https://svn.boost.org/trac/boost/ticket/4250" target="_top">#4250</a>, 1221 <a href="https://svn.boost.org/trac/boost/ticket/4297" target="_top">#4297</a>, 1222 <a href="https://svn.boost.org/trac/boost/ticket/4350" target="_top">#4350</a>, 1223 <a href="https://svn.boost.org/trac/boost/ticket/4352" target="_top">#4352</a>, 1224 <a href="https://svn.boost.org/trac/boost/ticket/4426" target="_top">#4426</a>, 1225 <a href="https://svn.boost.org/trac/boost/ticket/4516" target="_top">#4516</a>, 1226 <a href="https://svn.boost.org/trac/boost/ticket/4524" target="_top">#4524</a>, 1227 <a href="https://svn.boost.org/trac/boost/ticket/4557" target="_top">#4557</a>, 1228 <a href="https://svn.boost.org/trac/boost/ticket/4606" target="_top">#4606</a>, 1229 <a href="https://svn.boost.org/trac/boost/ticket/4685" target="_top">#4685</a>, 1230 <a href="https://svn.boost.org/trac/boost/ticket/4694" target="_top">#4694</a>. 1231 </li> 1232<li class="listitem"> 1233 Added support for standard rvalue reference move semantics (tested 1234 on GCC 4.5 and VC10). 1235 </li> 1236<li class="listitem"> 1237 Permissions can be detailed for interprocess named resources. 1238 </li> 1239<li class="listitem"> 1240 <code class="computeroutput"><span class="identifier">mapped_region</span><span class="special">::</span><span class="identifier">flush</span></code> initiates disk flushing but 1241 does not guarantee it's completed when returns, since it is not portable. 1242 </li> 1243<li class="listitem"> 1244 FreeBSD and MacOS now use posix semaphores to implement named semaphores 1245 and mutex. 1246 </li> 1247</ul></div> 1248</div> 1249<div class="section"> 1250<div class="titlepage"><div><div><h4 class="title"> 1251<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_41_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_41_00" title="Boost 1.41 Release">Boost 1252 1.41 Release</a> 1253</h4></div></div></div> 1254<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1255<li class="listitem"> 1256 Support for POSIX shared memory in Mac OS. 1257 </li> 1258<li class="listitem"> 1259 <span class="bold"><strong>ABI breaking</strong></span>: Generic <code class="computeroutput"><span class="identifier">semaphore</span></code> and <code class="computeroutput"><span class="identifier">named_semaphore</span></code> 1260 now implemented more efficiently with atomic operations. 1261 </li> 1262<li class="listitem"> 1263 More robust file opening in Windows platforms with active Anti-virus 1264 software. 1265 </li> 1266</ul></div> 1267</div> 1268<div class="section"> 1269<div class="titlepage"><div><div><h4 class="title"> 1270<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_40_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_40_00" title="Boost 1.40 Release">Boost 1271 1.40 Release</a> 1272</h4></div></div></div> 1273<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1274<li class="listitem"> 1275 Windows shared memory is created in Shared Documents folder so that 1276 it can be shared between services and processes 1277 </li> 1278<li class="listitem"> 1279 Fixed bugs <a href="https://svn.boost.org/trac/boost/ticket/2967" target="_top">#2967</a>, 1280 <a href="https://svn.boost.org/trac/boost/ticket/2973" target="_top">#2973</a>, 1281 <a href="https://svn.boost.org/trac/boost/ticket/2992" target="_top">#2992</a>, 1282 <a href="https://svn.boost.org/trac/boost/ticket/3138" target="_top">#3138</a>, 1283 <a href="https://svn.boost.org/trac/boost/ticket/3166" target="_top">#3166</a>, 1284 <a href="https://svn.boost.org/trac/boost/ticket/3205" target="_top">#3205</a>. 1285 </li> 1286</ul></div> 1287</div> 1288<div class="section"> 1289<div class="titlepage"><div><div><h4 class="title"> 1290<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_39_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_39_00" title="Boost 1.39 Release">Boost 1291 1.39 Release</a> 1292</h4></div></div></div> 1293<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1294<li class="listitem"> 1295 Added experimental <code class="computeroutput"><span class="identifier">stable_vector</span></code> 1296 container. 1297 </li> 1298<li class="listitem"> 1299 <code class="computeroutput"><span class="identifier">shared_memory_object</span><span class="special">::</span><span class="identifier">remove</span></code> 1300 has now POSIX <code class="computeroutput"><span class="identifier">unlink</span></code> 1301 semantics and <code class="computeroutput"><span class="identifier">file_mapping</span><span class="special">::</span><span class="identifier">remove</span></code> 1302 was added to obtain POSIX <code class="computeroutput"><span class="identifier">unlink</span></code> 1303 semantics with mapped files. 1304 </li> 1305<li class="listitem"> 1306 Shared memory in windows has now kernel lifetime instead of filesystem 1307 lifetime: shared memory will disappear when the system reboots. 1308 </li> 1309<li class="listitem"> 1310 Updated move semantics. 1311 </li> 1312<li class="listitem"> 1313 Fixed bugs <a href="https://svn.boost.org/trac/boost/ticket/2722" target="_top">#2722</a>, 1314 <a href="https://svn.boost.org/trac/boost/ticket/2729" target="_top">#2729</a>, 1315 <a href="https://svn.boost.org/trac/boost/ticket/2766" target="_top">#2766</a>, 1316 <a href="https://svn.boost.org/trac/boost/ticket/1390" target="_top">#1390</a>, 1317 <a href="https://svn.boost.org/trac/boost/ticket/2589" target="_top">#2589</a>, 1318 </li> 1319</ul></div> 1320</div> 1321<div class="section"> 1322<div class="titlepage"><div><div><h4 class="title"> 1323<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_38_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_38_00" title="Boost 1.38 Release">Boost 1324 1.38 Release</a> 1325</h4></div></div></div> 1326<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1327<li class="listitem"> 1328 Updated documentation to show rvalue-references funcions instead of 1329 emulation functions. 1330 </li> 1331<li class="listitem"> 1332 More non-copyable classes are now movable. 1333 </li> 1334<li class="listitem"> 1335 Move-constructor and assignments now leave moved object in default-constructed 1336 state instead of just swapping contents. 1337 </li> 1338<li class="listitem"> 1339 Several bugfixes ( <a href="https://svn.boost.org/trac/boost/ticket/2391" target="_top">#2391</a>, 1340 <a href="https://svn.boost.org/trac/boost/ticket/2431" target="_top">#2431</a>, 1341 <a href="https://svn.boost.org/trac/boost/ticket/1390" target="_top">#1390</a>, 1342 <a href="https://svn.boost.org/trac/boost/ticket/2570" target="_top">#2570</a>, 1343 <a href="https://svn.boost.org/trac/boost/ticket/2528" target="_top">#2528</a>. 1344 </li> 1345</ul></div> 1346</div> 1347<div class="section"> 1348<div class="titlepage"><div><div><h4 class="title"> 1349<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_37_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_37_00" title="Boost 1.37 Release">Boost 1350 1.37 Release</a> 1351</h4></div></div></div> 1352<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1353<li class="listitem"> 1354 Containers can be used now in recursive types. 1355 </li> 1356<li class="listitem"> 1357 Added <code class="computeroutput"><span class="identifier">BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION</span></code> 1358 macro option to force the use of generic emulation code for process-shared 1359 synchronization primitives instead of native POSIX functions. 1360 </li> 1361<li class="listitem"> 1362 Added placement insertion members to containers 1363 </li> 1364<li class="listitem"> 1365 <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">posix_time</span><span class="special">::</span><span class="identifier">pos_inf</span></code> value is now handled portably 1366 for timed functions. 1367 </li> 1368<li class="listitem"> 1369 Update some function parameters from <code class="computeroutput"><span class="identifier">iterator</span></code> 1370 to <code class="computeroutput"><span class="identifier">const_iterator</span></code> in 1371 containers to keep up with the draft of the next standard. 1372 </li> 1373<li class="listitem"> 1374 Documentation fixes. 1375 </li> 1376</ul></div> 1377</div> 1378<div class="section"> 1379<div class="titlepage"><div><div><h4 class="title"> 1380<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_36_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_36_00" title="Boost 1.36 Release">Boost 1381 1.36 Release</a> 1382</h4></div></div></div> 1383<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1384<li class="listitem"> 1385 Added anonymous shared memory for UNIX systems. 1386 </li> 1387<li class="listitem"> 1388 Fixed erroneous <code class="computeroutput"><span class="keyword">void</span></code> return 1389 types from <code class="computeroutput"><span class="identifier">flat_map</span><span class="special">::</span><span class="identifier">erase</span><span class="special">()</span></code> functions. 1390 </li> 1391<li class="listitem"> 1392 Fixed missing move semantics on managed memory classes. 1393 </li> 1394<li class="listitem"> 1395 Added copy_on_write and open_read_only options for shared memory and 1396 mapped file managed classes. 1397 </li> 1398<li class="listitem"> 1399 <span class="bold"><strong>ABI breaking</strong></span>: Added to <code class="computeroutput"><span class="identifier">mapped_region</span></code> the mode used to create 1400 it. 1401 </li> 1402<li class="listitem"> 1403 Corrected instantiation errors in void allocators. 1404 </li> 1405<li class="listitem"> 1406 <code class="computeroutput"><span class="identifier">shared_ptr</span></code> is movable 1407 and supports aliasing. 1408 </li> 1409</ul></div> 1410</div> 1411<div class="section"> 1412<div class="titlepage"><div><div><h4 class="title"> 1413<a name="interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_35_00"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.release_notes.release_notes_boost_1_35_00" title="Boost 1.35 Release">Boost 1414 1.35 Release</a> 1415</h4></div></div></div> 1416<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1417<li class="listitem"> 1418 Added auxiliary utilities to ease the definition and construction of 1419 <code class="computeroutput"><a class="link" href="../boost/interprocess/shared_ptr.html" title="Class template shared_ptr">shared_ptr</a></code>, 1420 <code class="computeroutput"><a class="link" href="../boost/interprocess/weak_ptr.html" title="Class template weak_ptr">weak_ptr</a></code> 1421 and <code class="computeroutput"><span class="identifier">unique_ptr</span></code>. Added 1422 explanations and examples of these smart pointers in the documentation. 1423 </li> 1424<li class="listitem"> 1425 Optimized vector: 1426 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 1427<li class="listitem"> 1428 1) Now works with raw pointers as much as possible when using 1429 allocators defining <code class="computeroutput"><span class="identifier">pointer</span></code> 1430 as an smart pointer. This increases performance and improves 1431 compilation times. 1432 </li> 1433<li class="listitem"> 1434 2) A bit of metaprogramming to avoid using move_iterator when 1435 the type has trivial copy constructor or assignment and improve 1436 performance. 1437 </li> 1438<li class="listitem"> 1439 3) Changed custom algorithms with standard ones to take advantage 1440 of optimized standard algorithms. 1441 </li> 1442<li class="listitem"> 1443 4) Removed unused code. 1444 </li> 1445</ul></div> 1446 </li> 1447<li class="listitem"> 1448 <span class="bold"><strong>ABI breaking</strong></span>: Containers don't derive 1449 from allocators, to avoid problems with allocators that might define 1450 virtual functions with the same names as container member functions. 1451 That would convert container functions in virtual functions and might 1452 disallow some of them if the returned type does not lead to a covariant 1453 return. Allocators are now stored as base classes of internal structs. 1454 </li> 1455<li class="listitem"> 1456 Implemented <code class="computeroutput"><a class="link" href="../boost/interprocess/named_mutex.html" title="Class named_mutex">named_mutex</a></code> 1457 and <code class="computeroutput"><a class="link" href="../boost/interprocess/named_semaphore.html" title="Class named_semaphore">named_semaphore</a></code> 1458 with POSIX named semaphores in systems supporting that option. <code class="computeroutput"><a class="link" href="../boost/interprocess/named_condition.html" title="Class named_condition">named_condition</a></code> 1459 has been accordingly changed to support interoperability with <code class="computeroutput"><a class="link" href="../boost/interprocess/named_mutex.html" title="Class named_mutex">named_mutex</a></code>. 1460 </li> 1461<li class="listitem"> 1462 Reduced template bloat for node and adaptive allocators extracting 1463 node implementation to a class that only depends on the memory algorithm, 1464 instead of the segment manager + node size + node number... 1465 </li> 1466<li class="listitem"> 1467 Fixed bug in <code class="computeroutput"><span class="identifier">mapped_region</span></code> 1468 in UNIX when mapping address was provided but the region was mapped 1469 in another address. 1470 </li> 1471<li class="listitem"> 1472 Added <code class="computeroutput"><span class="identifier">aligned_allocate</span></code> 1473 and <code class="computeroutput"><span class="identifier">allocate_many</span></code> functions 1474 to managed memory segments. 1475 </li> 1476<li class="listitem"> 1477 Improved documentation about managed memory segments. 1478 </li> 1479<li class="listitem"> 1480 <span class="bold"><strong>Boost.Interprocess</strong></span> containers are 1481 now documented in the Reference section. 1482 </li> 1483<li class="listitem"> 1484 Correction of typos and documentation errors. 1485 </li> 1486<li class="listitem"> 1487 Added <code class="computeroutput"><span class="identifier">get_instance_name</span></code>, 1488 <code class="computeroutput"><span class="identifier">get_instance_length</span></code> 1489 and <code class="computeroutput"><span class="identifier">get_instance_type</span></code> 1490 functions to managed memory segments. 1491 </li> 1492<li class="listitem"> 1493 Corrected suboptimal buffer expansion bug in <code class="computeroutput"><span class="identifier">rbtree_best_fit</span></code>. 1494 </li> 1495<li class="listitem"> 1496 Added iteration of named and unique objects in a segment manager. 1497 </li> 1498<li class="listitem"> 1499 Fixed leak in <code class="computeroutput">vector</code>. 1500 </li> 1501<li class="listitem"> 1502 Added support for Solaris. 1503 </li> 1504<li class="listitem"> 1505 Optimized <code class="computeroutput"><a class="link" href="../boost/interprocess/segment_manager.html" title="Class template segment_manager">segment_manager</a></code> 1506 to avoid code bloat associated with templated instantiations. 1507 </li> 1508<li class="listitem"> 1509 Fixed bug for UNIX: No slash ('/') was being added as the first character 1510 for shared memory names, leading to errors in some UNIX systems. 1511 </li> 1512<li class="listitem"> 1513 Fixed bug in VC-8.0: Broken function inlining in core offset_ptr functions. 1514 </li> 1515<li class="listitem"> 1516 Code examples changed to use new BoostBook code import features. 1517 </li> 1518<li class="listitem"> 1519 Added aligned memory allocation function to memory algorithms. 1520 </li> 1521<li class="listitem"> 1522 Fixed bug in <code class="computeroutput"><span class="identifier">deque</span><span class="special">::</span><span class="identifier">clear</span><span class="special">()</span></code> and <code class="computeroutput"><span class="identifier">deque</span><span class="special">::</span><span class="identifier">erase</span><span class="special">()</span></code>, they were declared private. 1523 </li> 1524<li class="listitem"> 1525 Fixed bug in <code class="computeroutput"><span class="identifier">deque</span><span class="special">::</span><span class="identifier">erase</span><span class="special">()</span></code>. Thanks to Steve LoBasso. 1526 </li> 1527<li class="listitem"> 1528 Fixed bug in <code class="computeroutput"><span class="identifier">atomic_dec32</span><span class="special">()</span></code>. Thanks to Glenn Schrader. 1529 </li> 1530<li class="listitem"> 1531 Improved (multi)map/(multi)set constructors taking iterators. Now those 1532 have linear time if the iterator range is already sorted. 1533 </li> 1534<li class="listitem"> 1535 <span class="bold"><strong>ABI breaking</strong></span>: (multi)map/(multi)set 1536 now reduce their node size. The color bit is embedded in the parent 1537 pointer. Now, the size of a node is the size of 3 pointers in most 1538 systems. This optimization is activated for raw and <code class="computeroutput"><span class="identifier">offset_ptr</span></code> 1539 pointers. 1540 </li> 1541<li class="listitem"> 1542 (multi)map/(multi)set now reuse memory from old nodes in the assignment 1543 operator. 1544 </li> 1545<li class="listitem"> 1546 <span class="bold"><strong>ABI breaking</strong></span>: Implemented node-containers 1547 based on intrusive containers. This saves code size, since many instantiations 1548 share the same algorithms. 1549 </li> 1550<li class="listitem"> 1551 Corrected code to be compilable with Visual C++ 8.0. 1552 </li> 1553<li class="listitem"> 1554 Added function to zero free memory in memory algorithms and the segment 1555 manager. This function is useful for security reasons and to improve 1556 compression ratios for files created with <code class="computeroutput"><span class="identifier">managed_mapped_file</span></code>. 1557 </li> 1558<li class="listitem"> 1559 Added support for intrusive index types in managed memory segments. 1560 Intrusive indexes save extra memory allocations to allocate the index 1561 since with just one allocation, we allocate room for the value, the 1562 name and the hook to insert the object in the index. 1563 </li> 1564<li class="listitem"> 1565 Created new index type: <span class="bold"><strong>iset_index</strong></span>. 1566 It's an index based on an intrusive set (rb-tree). 1567 </li> 1568<li class="listitem"> 1569 Created new index type: <span class="bold"><strong>iunordered_set_index</strong></span>. 1570 It's an index based on a pseudo-intrusive unordered set (hash table). 1571 </li> 1572<li class="listitem"> 1573 <span class="bold"><strong>ABI breaking</strong></span>: The intrusive index 1574 <span class="bold"><strong>iset_index</strong></span> is now the default index 1575 type. 1576 </li> 1577<li class="listitem"> 1578 Optimized vector to take advantage of <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">has_trivial_destructor</span></code>. 1579 This optimization avoids calling destructors of elements that have 1580 a trivial destructor. 1581 </li> 1582<li class="listitem"> 1583 Optimized vector to take advantage of <code class="computeroutput"><span class="identifier">has_trivial_destructor_after_move</span></code> 1584 trait. This optimization avoids calling destructors of elements that 1585 have a trivial destructor if the element has been moved (which is the 1586 case of many movable types). This trick was provided by Howard Hinnant. 1587 </li> 1588<li class="listitem"> 1589 Added security check to avoid integer overflow bug in allocators and 1590 named construction functions. 1591 </li> 1592<li class="listitem"> 1593 Added alignment checks to forward and backwards expansion functions. 1594 </li> 1595<li class="listitem"> 1596 Fixed bug in atomic functions for PPC. 1597 </li> 1598<li class="listitem"> 1599 Fixed race-condition error when creating and opening a managed segment. 1600 </li> 1601<li class="listitem"> 1602 Added adaptive pools. 1603 </li> 1604<li class="listitem"> 1605 <span class="bold"><strong>Source breaking</strong></span>: Changed node allocators' 1606 template parameter order to make them easier to use. 1607 </li> 1608<li class="listitem"> 1609 Added support for native windows shared memory. 1610 </li> 1611<li class="listitem"> 1612 Added more tests. 1613 </li> 1614<li class="listitem"> 1615 Corrected the presence of private functions in the reference section. 1616 </li> 1617<li class="listitem"> 1618 Added function (<code class="computeroutput"><span class="identifier">deallocate_free_chunks</span><span class="special">()</span></code>) to manually deallocate completely 1619 free chunks from node allocators. 1620 </li> 1621<li class="listitem"> 1622 Implemented N1780 proposal to LWG issue 233: <span class="emphasis"><em>Insertion hints 1623 in associative containers</em></span> in interprocess <code class="computeroutput">multiset</code> 1624 and <code class="computeroutput">multimap</code> 1625 classes. 1626 </li> 1627<li class="listitem"> 1628 <span class="bold"><strong>Source breaking</strong></span>: A shared memory object 1629 is now used including <code class="computeroutput"><span class="identifier">shared_memory_object</span><span class="special">.</span><span class="identifier">hpp</span></code> 1630 header instead of <code class="computeroutput"><span class="identifier">shared</span> 1631 <span class="identifier">memory</span><span class="special">.</span><span class="identifier">hpp</span></code>. 1632 </li> 1633<li class="listitem"> 1634 <span class="bold"><strong>ABI breaking</strong></span>: Changed global mutex 1635 when initializing managed shared memory and memory mapped files. This 1636 change tries to minimize deadlocks. 1637 </li> 1638<li class="listitem"> 1639 <span class="bold"><strong>Source breaking</strong></span>: Changed shared memory, 1640 memory mapped files and mapped region's open mode to a single <code class="computeroutput"><span class="identifier">mode_t</span></code> type. 1641 </li> 1642<li class="listitem"> 1643 Added extra WIN32_LEAN_AND_MEAN before including DateTime headers to 1644 avoid socket redefinition errors when using Interprocess and Asio in 1645 windows. 1646 </li> 1647<li class="listitem"> 1648 <span class="bold"><strong>ABI breaking</strong></span>: <code class="computeroutput"><span class="identifier">mapped_region</span></code> 1649 constructor no longer requires classes derived from memory_mappable, 1650 but classes must fulfill the MemoryMappable concept. 1651 </li> 1652<li class="listitem"> 1653 Added in-place reallocation capabilities to basic_string. 1654 </li> 1655<li class="listitem"> 1656 <span class="bold"><strong>ABI breaking</strong></span>: Reimplemented and optimized 1657 small string optimization. The narrow string class has zero byte overhead 1658 with an internal 11 byte buffer in 32 systems! 1659 </li> 1660<li class="listitem"> 1661 Added move semantics to containers. Improves performance when using 1662 containers of containers. 1663 </li> 1664<li class="listitem"> 1665 <span class="bold"><strong>ABI breaking</strong></span>: End nodes of node containers 1666 (list, slist, map/set) are now embedded in the containers instead of 1667 allocated using the allocator. This allows no-throw move-constructors 1668 and improves performance. 1669 </li> 1670<li class="listitem"> 1671 <span class="bold"><strong>ABI breaking</strong></span>: <span class="bold"><strong>slist</strong></span> 1672 and <span class="bold"><strong>list</strong></span> containers now have constant-time 1673 <span class="emphasis"><em>size()</em></span> function. The size of the container is 1674 added as a member. 1675 </li> 1676</ul></div> 1677</div> 1678</div> 1679<div class="section"> 1680<div class="titlepage"><div><div><h3 class="title"> 1681<a name="interprocess.acknowledgements_notes.books_and_links"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.books_and_links" title="Books and interesting links">Books 1682 and interesting links</a> 1683</h3></div></div></div> 1684<div class="toc"><dl class="toc"> 1685<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.books_and_links.references_books">Books</a></span></dt> 1686<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.books_and_links.references_links">Links</a></span></dt> 1687</dl></div> 1688<p> 1689 Some useful references about the C++ programming language, C++ internals, 1690 shared memory, allocators and containers used to design <span class="bold"><strong>Boost.Interprocess</strong></span>. 1691 </p> 1692<div class="section"> 1693<div class="titlepage"><div><div><h4 class="title"> 1694<a name="interprocess.acknowledgements_notes.books_and_links.references_books"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.books_and_links.references_books" title="Books">Books</a> 1695</h4></div></div></div> 1696<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1697<li class="listitem"> 1698 Great book about multithreading, and POSIX: <span class="bold"><strong><span class="emphasis"><em>"Programming 1699 with Posix Threads"</em></span></strong></span>, <span class="bold"><strong>David 1700 R. Butenhof</strong></span> 1701 </li> 1702<li class="listitem"> 1703 The UNIX inter-process bible: <span class="bold"><strong><span class="emphasis"><em>"UNIX 1704 Network Programming, Volume 2: Interprocess Communications"</em></span></strong></span>, 1705 <span class="bold"><strong>W. Richard Stevens</strong></span> 1706 </li> 1707<li class="listitem"> 1708 Current STL allocator issues: <span class="bold"><strong><span class="emphasis"><em>"Effective 1709 STL"</em></span></strong></span>, <span class="bold"><strong>Scott Meyers</strong></span> 1710 </li> 1711<li class="listitem"> 1712 My C++ bible: <span class="bold"><strong><span class="emphasis"><em>"Thinking in C++, 1713 Volume 1 & 2"</em></span></strong></span>, <span class="bold"><strong>Bruce 1714 Eckel and Chuck Allison</strong></span> 1715 </li> 1716<li class="listitem"> 1717 The book every C++ programmer should read: <span class="bold"><strong><span class="emphasis"><em>"Inside 1718 the C++ Object Model"</em></span></strong></span>, <span class="bold"><strong>Stanley 1719 B. Lippman</strong></span> 1720 </li> 1721<li class="listitem"> 1722 A must-read: <span class="bold"><strong><span class="emphasis"><em>"ISO/IEC TR 18015: 1723 Technical Report on C++ Performance"</em></span></strong></span>, <span class="bold"><strong>ISO WG21-SC22 members.</strong></span> 1724 </li> 1725</ul></div> 1726</div> 1727<div class="section"> 1728<div class="titlepage"><div><div><h4 class="title"> 1729<a name="interprocess.acknowledgements_notes.books_and_links.references_links"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.books_and_links.references_links" title="Links">Links</a> 1730</h4></div></div></div> 1731<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 1732<li class="listitem"> 1733 A framework to put the STL in shared memory: <a href="http://allocator.sourceforge.net/" target="_top"><span class="emphasis"><em>"A 1734 C++ Standard Allocator for the Standard Template Library"</em></span> 1735 </a>. 1736 </li> 1737<li class="listitem"> 1738 Instantiating C++ objects in shared memory: <a href="http://www.cs.ubc.ca/local/reading/proceedings/cascon94/htm/english/abs/hon.htm" target="_top"><span class="emphasis"><em>"Using 1739 objects in shared memory for C++ application"</em></span> </a>. 1740 </li> 1741<li class="listitem"> 1742 A shared memory allocator and relative pointer: <a href="http://home.earthlink.net/~joshwalker1/writing/SharedMemory.html" target="_top"><span class="emphasis"><em>"Taming 1743 Shared Memory"</em></span> </a>. 1744 </li> 1745</ul></div> 1746</div> 1747</div> 1748<div class="section"> 1749<div class="titlepage"><div><div><h3 class="title"> 1750<a name="interprocess.acknowledgements_notes.future_improvements"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements" title="Future improvements...">Future 1751 improvements...</a> 1752</h3></div></div></div> 1753<div class="toc"><dl class="toc"> 1754<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements.win32_sync">Win32 1755 synchronization is too basic</a></span></dt> 1756<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements.future_objectnames">Use 1757 of wide character names on Boost.Interprocess basic resources</a></span></dt> 1758<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements.future_security">Security 1759 attributes</a></span></dt> 1760<dt><span class="section"><a href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements.future_ipc">Future 1761 inter-process communications</a></span></dt> 1762</dl></div> 1763<p> 1764 There are some Interprocess features that I would like to implement and some 1765 <span class="bold"><strong>Boost.Interprocess</strong></span> code that can be much 1766 better. Let's see some ideas: 1767 </p> 1768<div class="section"> 1769<div class="titlepage"><div><div><h4 class="title"> 1770<a name="interprocess.acknowledgements_notes.future_improvements.win32_sync"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements.win32_sync" title="Win32 synchronization is too basic">Win32 1771 synchronization is too basic</a> 1772</h4></div></div></div> 1773<p> 1774 Win32 version of shared mutexes and shared conditions are based on "spin 1775 and wait" atomic instructions. This leads to poor performance and 1776 does not manage any issues like priority inversions. We would need very 1777 serious help from threading experts on this. And I'm not sure that this 1778 can be achieved in user-level software. Posix based implementations use 1779 PTHREAD_PROCESS_SHARED attribute to place mutexes in shared memory, so 1780 there are no such problems. I'm not aware of any implementation that simulates 1781 PTHREAD_PROCESS_SHARED attribute for Win32. We should be able to construct 1782 these primitives in memory mapped files, so that we can get filesystem 1783 persistence just like with POSIX primitives. 1784 </p> 1785</div> 1786<div class="section"> 1787<div class="titlepage"><div><div><h4 class="title"> 1788<a name="interprocess.acknowledgements_notes.future_improvements.future_objectnames"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements.future_objectnames" title="Use of wide character names on Boost.Interprocess basic resources">Use 1789 of wide character names on Boost.Interprocess basic resources</a> 1790</h4></div></div></div> 1791<p> 1792 Currently Interprocess only allows <span class="bold"><strong>char</strong></span> 1793 based names for basic named objects. However, several operating systems 1794 use <span class="bold"><strong>wchar_t</strong></span> names for resources (mapped 1795 files, for example). In the future Interprocess should try to present a 1796 portable narrow/wide char interface. To do this, it would be useful to 1797 have a boost wstring <-> string conversion utilities to translate 1798 resource names (escaping needed characters that can conflict with OS names) 1799 in a portable way. It would be interesting also the use of <span class="bold"><strong>boost::filesystem</strong></span> 1800 paths to avoid operating system specific issues. 1801 </p> 1802</div> 1803<div class="section"> 1804<div class="titlepage"><div><div><h4 class="title"> 1805<a name="interprocess.acknowledgements_notes.future_improvements.future_security"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements.future_security" title="Security attributes">Security 1806 attributes</a> 1807</h4></div></div></div> 1808<p> 1809 <span class="bold"><strong>Boost.Interprocess</strong></span> does not define security 1810 attributes for shared memory and synchronization objects. Standard C++ 1811 also ignores security attributes with files so adding security attributes 1812 would require some serious work. 1813 </p> 1814</div> 1815<div class="section"> 1816<div class="titlepage"><div><div><h4 class="title"> 1817<a name="interprocess.acknowledgements_notes.future_improvements.future_ipc"></a><a class="link" href="acknowledgements_notes.html#interprocess.acknowledgements_notes.future_improvements.future_ipc" title="Future inter-process communications">Future 1818 inter-process communications</a> 1819</h4></div></div></div> 1820<p> 1821 <span class="bold"><strong>Boost.Interprocess</strong></span> offers a process-shared 1822 message queue based on <span class="bold"><strong>Boost.Interprocess</strong></span> 1823 primitives like mutexes and conditions. I would want to develop more mechanisms, 1824 like stream-oriented named fifo so that we can use it with a iostream-interface 1825 wrapper (we can imitate Unix pipes). 1826 </p> 1827<p> 1828 C++ needs more complex mechanisms and it would be nice to have a stream 1829 and datagram oriented PF_UNIX-like mechanism in C++. And for very fast 1830 inter-process remote calls Solaris doors is an interesting alternative 1831 to implement for C++. But the work to implement PF_UNIX-like sockets and 1832 doors would be huge (and it might be difficult in a user-level library). 1833 Any network expert volunteer? 1834 </p> 1835</div> 1836</div> 1837</div> 1838<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 1839<td align="left"></td> 1840<td align="right"><div class="copyright-footer">Copyright © 2005-2015 Ion Gaztanaga<p> 1841 Distributed under the Boost Software License, Version 1.0. (See accompanying 1842 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 1843 </p> 1844</div></td> 1845</tr></table> 1846<hr> 1847<div class="spirit-nav"> 1848<a accesskey="p" href="customizing_interprocess.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../interprocess.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="indexes_reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a> 1849</div> 1850</body> 1851</html> 1852