fixedsize_stack.hpp 782 B

123456789101112131415161718192021222324252627282930313233
  1. // Copyright Oliver Kowalke 2014.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_FIBERS_FIXEDSIZE_STACK_H
  6. #define BOOST_FIBERS_FIXEDSIZE_STACK_H
  7. #include <boost/config.hpp>
  8. #include <boost/context/fixedsize_stack.hpp>
  9. #include <boost/fiber/detail/config.hpp>
  10. #ifdef BOOST_HAS_ABI_HEADERS
  11. # include BOOST_ABI_PREFIX
  12. #endif
  13. namespace boost {
  14. namespace fibers {
  15. using fixedsize_stack = boost::context::fixedsize_stack;
  16. #if !defined(BOOST_USE_SEGMENTED_STACKS)
  17. using default_stack = boost::context::default_stack;
  18. #endif
  19. }}
  20. #ifdef BOOST_HAS_ABI_HEADERS
  21. # include BOOST_ABI_SUFFIX
  22. #endif
  23. #endif // BOOST_FIBERS_FIXEDSIZE_STACK_H