commit | 384608e90d42cd8111b78efdea30fe06df19226a | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Sat Jul 07 20:01:52 2012 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Sat Jul 07 20:01:52 2012 +0000 |
tree | 52cb447c76c672ba8107b0a15f4cd15445c65c1b | |
parent | 90d872347639ae5781b152a49c2c764120e9aede [diff] |
Apply constexpr to the mutex constructor. As a conforming extension, apply constexpr to the condition_variable constructor. These are important because it enables the compiler to construct these types at compile time, even though the object will be non-const. Since they are constructed at compile time, there is no chance of a data race before they are constructed. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@159901 91177308-0d34-0410-b5e6-96231b3b80d8