Realistic 3D camera system
3D camera system components
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
asio-1.10.6
include
asio
detail
fenced_block.hpp
Go to the documentation of this file.
1
//
2
// detail/fenced_block.hpp
3
// ~~~~~~~~~~~~~~~~~~~~~~~
4
//
5
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
//
7
// Distributed under the Boost Software License, Version 1.0. (See accompanying
8
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
//
10
11
#ifndef ASIO_DETAIL_FENCED_BLOCK_HPP
12
#define ASIO_DETAIL_FENCED_BLOCK_HPP
13
14
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
15
# pragma once
16
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
18
#include "
asio/detail/config.hpp
"
19
20
#if !defined(ASIO_HAS_THREADS) \
21
|| defined(ASIO_DISABLE_FENCED_BLOCK)
22
# include "
asio/detail/null_fenced_block.hpp
"
23
#elif defined(__MACH__) && defined(__APPLE__)
24
# include "
asio/detail/macos_fenced_block.hpp
"
25
#elif defined(__sun)
26
# include "
asio/detail/solaris_fenced_block.hpp
"
27
#elif defined(__GNUC__) && defined(__arm__) \
28
&& !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)
29
# include "
asio/detail/gcc_arm_fenced_block.hpp
"
30
#elif defined(__GNUC__) && (defined(__hppa) || defined(__hppa__))
31
# include "
asio/detail/gcc_hppa_fenced_block.hpp
"
32
#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
33
# include "
asio/detail/gcc_x86_fenced_block.hpp
"
34
#elif defined(__GNUC__) \
35
&& ((__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)) \
36
&& !defined(__INTEL_COMPILER) && !defined(__ICL) \
37
&& !defined(__ICC) && !defined(__ECC) && !defined(__PATHSCALE__)
38
# include "
asio/detail/gcc_sync_fenced_block.hpp
"
39
#elif defined(ASIO_WINDOWS) && !defined(UNDER_CE)
40
# include "
asio/detail/win_fenced_block.hpp
"
41
#else
42
# include "
asio/detail/null_fenced_block.hpp
"
43
#endif
44
45
namespace
asio
{
46
namespace
detail {
47
48
#if !defined(ASIO_HAS_THREADS) \
49
|| defined(ASIO_DISABLE_FENCED_BLOCK)
50
typedef
null_fenced_block
fenced_block
;
51
#elif defined(__MACH__) && defined(__APPLE__)
52
typedef
macos_fenced_block
fenced_block
;
53
#elif defined(__sun)
54
typedef
solaris_fenced_block
fenced_block
;
55
#elif defined(__GNUC__) && defined(__arm__) \
56
&& !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)
57
typedef
gcc_arm_fenced_block
fenced_block
;
58
#elif defined(__GNUC__) && (defined(__hppa) || defined(__hppa__))
59
typedef
gcc_hppa_fenced_block
fenced_block
;
60
#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
61
typedef
gcc_x86_fenced_block
fenced_block
;
62
#elif defined(__GNUC__) \
63
&& ((__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)) \
64
&& !defined(__INTEL_COMPILER) && !defined(__ICL) \
65
&& !defined(__ICC) && !defined(__ECC) && !defined(__PATHSCALE__)
66
typedef
gcc_sync_fenced_block
fenced_block
;
67
#elif defined(ASIO_WINDOWS) && !defined(UNDER_CE)
68
typedef
win_fenced_block
fenced_block
;
69
#else
70
typedef
null_fenced_block
fenced_block
;
71
#endif
72
73
}
// namespace detail
74
}
// namespace asio
75
76
#endif // ASIO_DETAIL_FENCED_BLOCK_HPP
macos_fenced_block.hpp
gcc_arm_fenced_block.hpp
config.hpp
asio::detail::fenced_block
null_fenced_block fenced_block
Definition:
fenced_block.hpp:50
solaris_fenced_block.hpp
null_fenced_block.hpp
asio::detail::null_fenced_block
Definition:
null_fenced_block.hpp:23
gcc_sync_fenced_block.hpp
win_fenced_block.hpp
gcc_hppa_fenced_block.hpp
gcc_x86_fenced_block.hpp
asio
Definition:
async_result.hpp:23
Generated by
1.8.11