1*5f757f3fSDimitry Andric// -*- C++ -*- 2*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===// 3*5f757f3fSDimitry Andric// 4*5f757f3fSDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5*5f757f3fSDimitry Andric// See https://llvm.org/LICENSE.txt for license information. 6*5f757f3fSDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7*5f757f3fSDimitry Andric// 8*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===// 9*5f757f3fSDimitry Andric 10*5f757f3fSDimitry Andricexport namespace std { 11*5f757f3fSDimitry Andric#ifndef _LIBCPP_HAS_NO_THREADS 12*5f757f3fSDimitry Andric // [thread.sharedmutex.class], class shared_mutex 13*5f757f3fSDimitry Andric using std::shared_mutex; 14*5f757f3fSDimitry Andric // [thread.sharedtimedmutex.class], class shared_timed_mutex 15*5f757f3fSDimitry Andric using std::shared_timed_mutex; 16*5f757f3fSDimitry Andric // [thread.lock.shared], class template shared_lock 17*5f757f3fSDimitry Andric using std::shared_lock; 18*5f757f3fSDimitry Andric using std::swap; 19*5f757f3fSDimitry Andric#endif // _LIBCPP_HAS_NO_THREADS 20*5f757f3fSDimitry Andric} // namespace std 21