VirtualBox

source: vbox/trunk/src/libs/boost-1.37.0/boost/memory_order.hpp@ 16591

Last change on this file since 16591 was 16204, checked in by vboxsync, 16 years ago

export the boost stuff required for Main

File size: 793 bytes
Line 
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
21namespace boost
22{
23
24enum 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
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette