VirtualBox

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

最後變更 在這個檔案從23598是 16204,由 vboxsync 提交於 16 年 前

export the boost stuff required for Main

檔案大小: 793 位元組
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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