Add the initializes attribute inference (#117104)
[llvm-project.git] / libcxx / modules / std / shared_mutex.inc
blob95102fc1ffee3cd26d4b9588aacff45b7981aac0
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 export namespace std {
11 #if _LIBCPP_HAS_THREADS
12   // [thread.sharedmutex.class], class shared_­mutex
13   using std::shared_mutex;
14   // [thread.sharedtimedmutex.class], class shared_­timed_­mutex
15   using std::shared_timed_mutex;
16   // [thread.lock.shared], class template shared_­lock
17   using std::shared_lock;
18   using std::swap;
19 #endif // _LIBCPP_HAS_THREADS
20 } // namespace std