]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/thread/concurrent_queues/queue_op_status.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / thread / concurrent_queues / queue_op_status.hpp
1 #ifndef BOOST_THREAD_QUEUE_OP_STATUS_HPP
2 #define BOOST_THREAD_QUEUE_OP_STATUS_HPP
3
4 //////////////////////////////////////////////////////////////////////////////
5 //
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)
9 //
10 // See http://www.boost.org/libs/thread for documentation.
11 //
12 //////////////////////////////////////////////////////////////////////////////
13
14 #include <boost/thread/detail/config.hpp>
15 #include <boost/thread/detail/move.hpp>
16
17 #include <boost/config/abi_prefix.hpp>
18
19 namespace boost
20 {
21 namespace concurrent
22 {
23
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)
27
28 struct sync_queue_is_closed : std::exception
29 {
30 };
31
32 }
33
34 #ifndef BOOST_THREAD_QUEUE_DEPRECATE_OLD
35 struct no_block_tag{};
36 BOOST_CONSTEXPR_OR_CONST no_block_tag no_block = {};
37 #endif
38
39 using concurrent::queue_op_status;
40 using concurrent::sync_queue_is_closed;
41
42 }
43
44 #include <boost/config/abi_suffix.hpp>
45
46 #endif