Realistic 3D camera system
3D camera system components
select_interrupter.hpp
Go to the documentation of this file.
1 //
2 // detail/select_interrupter.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_SELECT_INTERRUPTER_HPP
12 #define ASIO_DETAIL_SELECT_INTERRUPTER_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_WINDOWS_RUNTIME)
21 
22 #if defined(ASIO_WINDOWS) || defined(__CYGWIN__) || defined(__SYMBIAN32__)
24 #elif defined(ASIO_HAS_EVENTFD)
26 #else
28 #endif
29 
30 namespace asio {
31 namespace detail {
32 
33 #if defined(ASIO_WINDOWS) || defined(__CYGWIN__) || defined(__SYMBIAN32__)
34 typedef socket_select_interrupter select_interrupter;
35 #elif defined(ASIO_HAS_EVENTFD)
36 typedef eventfd_select_interrupter select_interrupter;
37 #else
39 #endif
40 
41 } // namespace detail
42 } // namespace asio
43 
44 #endif // !defined(ASIO_WINDOWS_RUNTIME)
45 
46 #endif // ASIO_DETAIL_SELECT_INTERRUPTER_HPP
pipe_select_interrupter select_interrupter