Boost C++ Libraries: Ticket #12245: intrusive::bstree uses a shared static size_traits for constant_time_size<false> https://svn.boost.org/trac10/ticket/12245 <p> This causes helgrind warnings about data races to size_holder::decrement when multiple instances of the same set instantiation is used. </p> <p> See <a class="ext-link" href="https://github.com/boostorg/intrusive/blob/4cf38987a88e1bb1157f1b8957bc0fc167b576e4/include/boost/intrusive/bstree.hpp#L563"><span class="icon">​</span>https://github.com/boostorg/intrusive/blob/4cf38987a88e1bb1157f1b8957bc0fc167b576e4/include/boost/intrusive/bstree.hpp#L563</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12245 Trac 1.4.3 Ion Gaztañaga Sat, 02 Jul 2016 20:36:05 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12245#comment:1 https://svn.boost.org/trac10/ticket/12245#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> Thanks for the report. There is no risk as static instances are empty, but I decided to clean up the code to avoid statics and make tools happier. Committed to trunk: </p> <p> <a class="ext-link" href="https://github.com/boostorg/intrusive/commit/2d55c664757ffe13124e57fd7423d959f50f0975"><span class="icon">​</span>https://github.com/boostorg/intrusive/commit/2d55c664757ffe13124e57fd7423d959f50f0975</a> </p> Ticket