channel_op_status.hpp 678 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright Oliver Kowalke 2013.
  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_CHANNEL_OP_STATUS_H
  6. #define BOOST_FIBERS_CHANNEL_OP_STATUS_H
  7. #include <boost/config.hpp>
  8. #include <boost/fiber/detail/config.hpp>
  9. #ifdef BOOST_HAS_ABI_HEADERS
  10. # include BOOST_ABI_PREFIX
  11. #endif
  12. namespace boost {
  13. namespace fibers {
  14. enum class channel_op_status {
  15. success = 0,
  16. empty,
  17. full,
  18. closed,
  19. timeout
  20. };
  21. }}
  22. #ifdef BOOST_HAS_ABI_HEADERS
  23. # include BOOST_ABI_SUFFIX
  24. #endif
  25. #endif // BOOST_FIBERS_CHANNEL_OP_STATUS_H