1 #ifndef BOOST_THREAD_QUEUE_OP_STATUS_HPP
2 #define BOOST_THREAD_QUEUE_OP_STATUS_HPP
4 //////////////////////////////////////////////////////////////////////////////
6 // (C) Copyright Vicente J. Botet Escriba 2014. Distributed under the Boost
7 // Software License, Version 1.0. (See accompanying file
8 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10 // See http://www.boost.org/libs/thread for documentation.
12 //////////////////////////////////////////////////////////////////////////////
14 #include <boost/thread/detail/config.hpp>
15 #include <boost/thread/detail/move.hpp>
17 #include <boost/config/abi_prefix.hpp>
24 BOOST_SCOPED_ENUM_DECLARE_BEGIN(queue_op_status)
25 { success = 0, empty, full, closed, busy, timeout, not_ready }
26 BOOST_SCOPED_ENUM_DECLARE_END(queue_op_status)
28 struct sync_queue_is_closed : std::exception
34 #ifndef BOOST_THREAD_QUEUE_DEPRECATE_OLD
35 struct no_block_tag{};
36 BOOST_CONSTEXPR_OR_CONST no_block_tag no_block = {};
39 using concurrent::queue_op_status;
40 using concurrent::sync_queue_is_closed;
44 #include <boost/config/abi_suffix.hpp>