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
thread.hpp
Go to the documentation of this file.
1
//
2
// detail/thread.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_THREAD_HPP
12
#define ASIO_DETAIL_THREAD_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
# include "
asio/detail/null_thread.hpp
"
22
#elif defined(ASIO_WINDOWS)
23
# if defined(UNDER_CE)
24
# include "
asio/detail/wince_thread.hpp
"
25
# else
26
# include "
asio/detail/win_thread.hpp
"
27
# endif
28
#elif defined(ASIO_HAS_PTHREADS)
29
# include "
asio/detail/posix_thread.hpp
"
30
#elif defined(ASIO_HAS_STD_THREAD)
31
# include "
asio/detail/std_thread.hpp
"
32
#else
33
# error Only Windows, POSIX and std::thread are supported!
34
#endif
35
36
namespace
asio
{
37
namespace
detail {
38
39
#if !defined(ASIO_HAS_THREADS)
40
typedef
null_thread
thread
;
41
#elif defined(ASIO_WINDOWS)
42
# if defined(UNDER_CE)
43
typedef
wince_thread
thread
;
44
# else
45
typedef
win_thread
thread
;
46
# endif
47
#elif defined(ASIO_HAS_PTHREADS)
48
typedef
posix_thread
thread
;
49
#elif defined(ASIO_HAS_STD_THREAD)
50
typedef
std_thread
thread
;
51
#endif
52
53
}
// namespace detail
54
}
// namespace asio
55
56
#endif // ASIO_DETAIL_THREAD_HPP
config.hpp
wince_thread.hpp
asio::detail::thread
null_thread thread
Definition:
thread.hpp:40
null_thread.hpp
std_thread.hpp
posix_thread.hpp
win_thread.hpp
asio::detail::null_thread
Definition:
null_thread.hpp:31
asio
Definition:
async_result.hpp:23
Generated by
1.8.11