diff options
Diffstat (limited to 'libcxx/modules/std/rcu.cppm')
| -rw-r--r-- | libcxx/modules/std/rcu.cppm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libcxx/modules/std/rcu.cppm b/libcxx/modules/std/rcu.cppm new file mode 100644 index 000000000000..fb5e5e1a5066 --- /dev/null +++ b/libcxx/modules/std/rcu.cppm @@ -0,0 +1,29 @@ +// -*- 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; +#if __has_include(<rcu>) +# error "include this header unconditionally and uncomment the exported symbols" +# include <rcu> +#endif + +export module std:rcu; +export namespace std { +#if 0 +# if _LIBCPP_STD_VER >= 23 + // 2.2.3, class template rcu_obj_base using std::rcu_obj_base; + // 2.2.4, class rcu_domain + using std::rcu_domain; + using std::rcu_default_domain(); + using std::rcu_barrier; + using std::rcu_retire; + using std::rcu_synchronize; +# endif // _LIBCPP_STD_VER >= 23 +#endif +} // namespace std |
