forked from boostorg/smart_ptr
Merge [58275], [58306] to release.
[SVN r58380]
This commit is contained in:
1 parent
ba349679f3
commit
f4386409d9
5 files changed
+12
-11
No files matched your search
@@ -74,8 +74,9 @@ template<unsigned size, unsigned align_> struct allocator_impl
|
||||
|
||||
static lightweight_mutex & mutex()
|
||||
{
|
||||
static lightweight_mutex m;
|
||||
return m;
|
||||
static freeblock< sizeof( lightweight_mutex ), boost::alignment_of< lightweight_mutex >::value > fbm;
|
||||
static lightweight_mutex * pm = new( &fbm ) lightweight_mutex;
|
||||
return *pm;
|
||||
}
|
||||
|
||||
static lightweight_mutex * mutex_init;
|
||||
|
||||
Reference in new issue
Block a user