26 lines · plain
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-exception7//8//===----------------------------------------------------------------------===//9 10export namespace std {11#if _LIBCPP_HAS_THREADS12 // [stoptoken], class stop_token13 using std::stop_token;14 15 // [stopsource], class stop_source16 using std::stop_source;17 18 // no-shared-stop-state indicator19 using std::nostopstate;20 using std::nostopstate_t;21 22 // [stopcallback], class template stop_callback23 using std::stop_callback;24#endif // _LIBCPP_HAS_THREADS25} // namespace std26