
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115538 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
521 B
C++
24 lines
521 B
C++
//===------------------------- atomic.cpp ---------------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "__mutex_base"
|
|
#include "atomic"
|
|
|
|
_LIBCPP_BEGIN_NAMESPACE_STD
|
|
|
|
_LIBCPP_VISIBLE
|
|
mutex&
|
|
__not_atomic_mut()
|
|
{
|
|
static mutex m;
|
|
return m;
|
|
}
|
|
|
|
_LIBCPP_END_NAMESPACE_STD
|