Boost C++ Libraries: Ticket #8371: C++11 once_flag enabled when constexpr is not available https://svn.boost.org/trac10/ticket/8371 <p> Boost.Thread should disable C++11 interface for call_once (and once_flag in particular) when the compiler does not support constexpr. Otherwise once_flag construction is not thread safe. This has been brought up in <a class="ext-link" href="http://news.gmane.org/find-root.php?group=gmane.comp.lib.boost.devel&amp;article=239023"><span class="icon">​</span>this</a> topic. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8371 Trac 1.4.3 Andrey Semashev Tue, 02 Apr 2013 17:49:37 GMT attachment set https://svn.boost.org/trac10/ticket/8371 https://svn.boost.org/trac10/ticket/8371 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">thread_config.patch</span> </li> </ul> <p> The patch disables C++11 call_once when constexpr is not supported. </p> Ticket Andrey Semashev Tue, 02 Apr 2013 17:50:28 GMT owner changed https://svn.boost.org/trac10/ticket/8371#comment:1 https://svn.boost.org/trac10/ticket/8371#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> </ul> Ticket viboes Tue, 02 Apr 2013 18:24:40 GMT status, milestone changed https://svn.boost.org/trac10/ticket/8371#comment:2 https://svn.boost.org/trac10/ticket/8371#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.54.0</span> </li> </ul> <p> Thanks for the report. This has already been fixed on trunk and merged to release. </p> Ticket Andrey Semashev Wed, 03 Apr 2013 07:55:03 GMT <link>https://svn.boost.org/trac10/ticket/8371#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8371#comment:3</guid> <description> <p> Oh, thanks. I missed the commit somehow. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 08 Apr 2013 17:28:49 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8371#comment:4 https://svn.boost.org/trac10/ticket/8371#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket