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
signal_blocker.hpp
Go to the documentation of this file.
1
//
2
// detail/signal_blocker.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_SIGNAL_BLOCKER_HPP
12
#define ASIO_DETAIL_SIGNAL_BLOCKER_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) || defined(ASIO_WINDOWS) \
21
|| defined(ASIO_WINDOWS_RUNTIME) \
22
|| defined(__CYGWIN__) || defined(__SYMBIAN32__)
23
# include "
asio/detail/null_signal_blocker.hpp
"
24
#elif defined(ASIO_HAS_PTHREADS)
25
# include "
asio/detail/posix_signal_blocker.hpp
"
26
#else
27
# error Only Windows and POSIX are supported!
28
#endif
29
30
namespace
asio
{
31
namespace
detail {
32
33
#if !defined(ASIO_HAS_THREADS) || defined(ASIO_WINDOWS) \
34
|| defined(ASIO_WINDOWS_RUNTIME) \
35
|| defined(__CYGWIN__) || defined(__SYMBIAN32__)
36
typedef
null_signal_blocker
signal_blocker
;
37
#elif defined(ASIO_HAS_PTHREADS)
38
typedef
posix_signal_blocker
signal_blocker
;
39
#endif
40
41
}
// namespace detail
42
}
// namespace asio
43
44
#endif // ASIO_DETAIL_SIGNAL_BLOCKER_HPP
null_signal_blocker.hpp
asio::detail::signal_blocker
null_signal_blocker signal_blocker
Definition:
signal_blocker.hpp:36
config.hpp
posix_signal_blocker.hpp
asio::detail::null_signal_blocker
Definition:
null_signal_blocker.hpp:33
asio
Definition:
async_result.hpp:23
Generated by
1.8.11