sp_thread_pause.hpp 598 B

1234567891011121314151617181920212223
  1. #ifndef BOOST_SMART_PTR_DETAIL_SP_THREAD_PAUSE_HPP_INCLUDED
  2. #define BOOST_SMART_PTR_DETAIL_SP_THREAD_PAUSE_HPP_INCLUDED
  3. // Copyright 2023 Peter Dimov
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // https://www.boost.org/LICENSE_1_0.txt
  6. #include <boost/core/yield_primitives.hpp>
  7. #include <boost/config/header_deprecated.hpp>
  8. BOOST_HEADER_DEPRECATED( "<boost/core/yield_primitives.hpp>" )
  9. namespace boost
  10. {
  11. namespace detail
  12. {
  13. using boost::core::sp_thread_pause;
  14. } // namespace detail
  15. } // namespace boost
  16. #endif // #ifndef BOOST_SMART_PTR_DETAIL_SP_THREAD_PAUSE_HPP_INCLUDED