[lldb] Replace deprecated `std::unique_ptr::unique()` to silence a warning with MS...
[llvm-project.git] / libcxx / modules / std / semaphore.inc
bloba8c8a1b6018e18114d1778a8f1429f2ebef035cf
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 #ifndef _LIBCPP_HAS_NO_THREADS
12   // [thread.sema.cnt], class template counting_semaphore
13   using std::counting_semaphore;
15   using std::binary_semaphore;
16 #endif // _LIBCPP_HAS_NO_THREADS
17 } // namespace std