[RISCV] Relax march string order constraint (#78120)
[llvm-project.git] / libcxx / modules / std / stop_token.inc
blobad2401747d61c68ddfaba3ecc7e54047f1597fe4
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 #  ifdef _LIBCPP_ENABLE_EXPERIMENTAL
13   // [stoptoken], class stop_­token
14   using std::stop_token;
16   // [stopsource], class stop_­source
17   using std::stop_source;
19   // no-shared-stop-state indicator
20   using std::nostopstate;
21   using std::nostopstate_t;
23   // [stopcallback], class template stop_­callback
24   using std::stop_callback;
25 #  endif // _LIBCPP_ENABLE_EXPERIMENTAL
26 #endif   // _LIBCPP_HAS_NO_THREADS
27 } // namespace std