Boost C++ Libraries: Ticket #2918: shared_mutex for win32 size optimization https://svn.boost.org/trac10/ticket/2918 <p> The shared_mutex for win32 API contains references to the semaphore handles in the internal array. While this allows to make the implementation code cleaner, it also adds 33% of size overhead for the mutex object (8 bytes on x86, 16 bytes on x64). </p> <p> Please find the attached patch that removes the references and compacts the mutex while moderately affecting the code readability. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2918 Trac 1.4.3 Andrey Semashev Mon, 06 Apr 2009 15:24:44 GMT attachment set https://svn.boost.org/trac10/ticket/2918 https://svn.boost.org/trac10/ticket/2918 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">shared_mutex.hpp.patch</span> </li> </ul> <p> The shared_mutex size optimization </p> Ticket Anthony Williams Mon, 07 Jun 2010 09:08:16 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2918#comment:1 https://svn.boost.org/trac10/ticket/2918#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed on trunk </p> Ticket