diff options
Diffstat (limited to 'libcxx/modules/std/shared_mutex.cppm')
| -rw-r--r-- | libcxx/modules/std/shared_mutex.cppm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libcxx/modules/std/shared_mutex.cppm b/libcxx/modules/std/shared_mutex.cppm new file mode 100644 index 000000000000..36c0f18399ae --- /dev/null +++ b/libcxx/modules/std/shared_mutex.cppm @@ -0,0 +1,22 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +module; +#include <shared_mutex> + +export module std:shared_mutex; +export namespace std { + // [thread.sharedmutex.class], class shared_mutex + using std::shared_mutex; + // [thread.sharedtimedmutex.class], class shared_timed_mutex + using std::shared_timed_mutex; + // [thread.lock.shared], class template shared_lock + using std::shared_lock; + using std::swap; +} // namespace std |
