Subject: [Boost-bugs] [Boost C++ Libraries] #8371: C++11 once_flag enabled when constexpr is not available
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-02 17:48:24
#8371: C++11 once_flag enabled when constexpr is not available
------------------------------+---------------------------------------------
Reporter: andysem | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.53.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
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
[http://news.gmane.org/find-
root.php?group=gmane.comp.lib.boost.devel&article=239023 this] topic.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8371> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC