• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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//===----------------------------------------------------------------------===//
9
10module;
11#if __has_include(<rcu>)
12#  error "include this header unconditionally and uncomment the exported symbols"
13#  include <rcu>
14#endif
15
16export module std:rcu;
17export namespace std {
18#if 0
19#  if _LIBCPP_STD_VER >= 23
20  // 2.2.3, class template rcu_obj_base using std::rcu_obj_base;
21  // 2.2.4, class rcu_domain
22  using std::rcu_domain;
23  using std::rcu_default_domain();
24  using std::rcu_barrier;
25  using std::rcu_retire;
26  using std::rcu_synchronize;
27#  endif // _LIBCPP_STD_VER >= 23
28#endif
29} // namespace std
30