Merge c:/dyninst/pc_bluegene/dyninst into dyn_pc_integration
[dyninst.git] / external / boost / memory_order.hpp
1 #ifndef BOOST_MEMORY_ORDER_HPP_INCLUDED
2 #define BOOST_MEMORY_ORDER_HPP_INCLUDED
3
4 // MS compatible compilers support #pragma once
5
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
7 # pragma once
8 #endif
9
10 //  boost/memory_order.hpp
11 //
12 //  Defines enum boost::memory_order per the C++0x working draft
13 //
14 //  Copyright (c) 2008 Peter Dimov
15 //
16 //  Distributed under the Boost Software License, Version 1.0.
17 //  See accompanying file LICENSE_1_0.txt or copy at
18 //  http://www.boost.org/LICENSE_1_0.txt)
19
20
21 namespace boost
22 {
23
24 enum memory_order
25 {
26     memory_order_relaxed = 0,
27     memory_order_acquire = 1,
28     memory_order_release = 2,
29     memory_order_acq_rel = 3, // acquire | release
30     memory_order_seq_cst = 7  // acq_rel | 4
31 };
32
33 } // namespace boost
34
35 #endif // #ifndef BOOST_MEMORY_ORDER_HPP_INCLUDED