diff options
Diffstat (limited to 'libcxx/modules/std/semaphore.cppm')
| -rw-r--r-- | libcxx/modules/std/semaphore.cppm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libcxx/modules/std/semaphore.cppm b/libcxx/modules/std/semaphore.cppm new file mode 100644 index 000000000000..7b81460ed263 --- /dev/null +++ b/libcxx/modules/std/semaphore.cppm @@ -0,0 +1,19 @@ +// -*- 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 <semaphore> + +export module std:semaphore; +export namespace std { + // [thread.sema.cnt], class template counting_semaphore + using std::counting_semaphore; + + using std::binary_semaphore; +} // namespace std |
